small improvement to startint methods
All checks were successful
studiorailgun/highlevel-netcode-gen/pipeline/head This commit looks good

This commit is contained in:
austin 2024-07-31 17:42:13 -04:00
parent d06f6ab17d
commit 2871381d89
4 changed files with 4 additions and 2 deletions

View File

@ -45,6 +45,7 @@ public class ClientInterrupt implements VirtualMethod {
List<String> rVal = Arrays.asList(new String[]{ List<String> rVal = Arrays.asList(new String[]{
"electrosphere.net.parser.net.message.SynchronizationMessage", "electrosphere.net.parser.net.message.SynchronizationMessage",
"electrosphere.net.synchronization.BehaviorTreeIdEnums", "electrosphere.net.synchronization.BehaviorTreeIdEnums",
"electrosphere.net.synchronization.ServerSynchronizationManager",
}); });
return rVal; return rVal;
} }

View File

@ -45,6 +45,7 @@ public class ClientStart implements VirtualMethod {
List<String> rVal = Arrays.asList(new String[]{ List<String> rVal = Arrays.asList(new String[]{
"electrosphere.net.parser.net.message.SynchronizationMessage", "electrosphere.net.parser.net.message.SynchronizationMessage",
"electrosphere.net.synchronization.BehaviorTreeIdEnums", "electrosphere.net.synchronization.BehaviorTreeIdEnums",
"electrosphere.net.synchronization.ServerSynchronizationManager",
}); });
return rVal; return rVal;
} }

View File

@ -9,7 +9,7 @@ public void interrupt(){
SynchronizationMessage.constructClientRequestBTreeActionMessage( SynchronizationMessage.constructClientRequestBTreeActionMessage(
Globals.clientSceneWrapper.mapClientToServerId(parent.getId()), Globals.clientSceneWrapper.mapClientToServerId(parent.getId()),
BehaviorTreeIdEnums.BTREE_CLIENTGROUNDMOVEMENTTREE_ID, BehaviorTreeIdEnums.BTREE_CLIENTGROUNDMOVEMENTTREE_ID,
1 ServerSynchronizationManager.SERVER_SYNC_INTERRUPT
) )
); );
} }

View File

@ -9,7 +9,7 @@ public void start(){
SynchronizationMessage.constructClientRequestBTreeActionMessage( SynchronizationMessage.constructClientRequestBTreeActionMessage(
Globals.clientSceneWrapper.mapClientToServerId(parent.getId()), Globals.clientSceneWrapper.mapClientToServerId(parent.getId()),
BehaviorTreeIdEnums.BTREE_CLIENTGROUNDMOVEMENTTREE_ID, BehaviorTreeIdEnums.BTREE_CLIENTGROUNDMOVEMENTTREE_ID,
0 ServerSynchronizationManager.SERVER_SYNC_START
) )
); );
} }