small improvement to startint methods
All checks were successful
studiorailgun/highlevel-netcode-gen/pipeline/head This commit looks good
All checks were successful
studiorailgun/highlevel-netcode-gen/pipeline/head This commit looks good
This commit is contained in:
parent
d06f6ab17d
commit
2871381d89
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -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
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user