update source stubs to reflect new service locs
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
5ba8d0084f
commit
bf4095d065
@ -12,7 +12,7 @@ public static REPLACE_2_ME attachTree(Entity parent, Object ... params){
|
|||||||
//!!WARNING!! from here below should not be touched
|
//!!WARNING!! from here below should not be touched
|
||||||
//This was generated automatically to properly alert various systems that the btree exists and should be tracked
|
//This was generated automatically to properly alert various systems that the btree exists and should be tracked
|
||||||
parent.putData(EntityDataStrings.REPLACE_1_ME, rVal);
|
parent.putData(EntityDataStrings.REPLACE_1_ME, rVal);
|
||||||
Globals.clientSceneWrapper.getScene().registerBehaviorTree(rVal);
|
Globals.clientState.clientSceneWrapper.getScene().registerBehaviorTree(rVal);
|
||||||
Globals.entityValueTrackingService.attachTreeToEntity(parent, BehaviorTreeIdEnums.BTREE_REPLACE_0_ME_ID);
|
Globals.serverState.entityValueTrackingService.attachTreeToEntity(parent, BehaviorTreeIdEnums.BTREE_REPLACE_0_ME_ID);
|
||||||
return rVal;
|
return rVal;
|
||||||
}
|
}
|
||||||
@ -7,5 +7,5 @@
|
|||||||
* @param tree The behavior tree to detach
|
* @param tree The behavior tree to detach
|
||||||
*/
|
*/
|
||||||
public static void detachTree(Entity entity, BehaviorTree tree){
|
public static void detachTree(Entity entity, BehaviorTree tree){
|
||||||
Globals.entityValueTrackingService.detatchTreeFromEntity(entity, BehaviorTreeIdEnums.BTREE_REPLACE_0_ME_ID);
|
Globals.serverState.entityValueTrackingService.detatchTreeFromEntity(entity, BehaviorTreeIdEnums.BTREE_REPLACE_0_ME_ID);
|
||||||
}
|
}
|
||||||
@ -5,9 +5,9 @@
|
|||||||
* </p>
|
* </p>
|
||||||
*/
|
*/
|
||||||
public void interrupt(){
|
public void interrupt(){
|
||||||
Globals.clientConnection.queueOutgoingMessage(
|
Globals.clientState.clientConnection.queueOutgoingMessage(
|
||||||
SynchronizationMessage.constructClientRequestBTreeActionMessage(
|
SynchronizationMessage.constructClientRequestBTreeActionMessage(
|
||||||
Globals.clientSceneWrapper.mapClientToServerId(parent.getId()),
|
Globals.clientState.clientSceneWrapper.mapClientToServerId(parent.getId()),
|
||||||
BehaviorTreeIdEnums.REPLACE_0_ME,
|
BehaviorTreeIdEnums.REPLACE_0_ME,
|
||||||
ServerSynchronizationManager.SERVER_SYNC_INTERRUPT
|
ServerSynchronizationManager.SERVER_SYNC_INTERRUPT
|
||||||
)
|
)
|
||||||
|
|||||||
@ -5,9 +5,9 @@
|
|||||||
* </p>
|
* </p>
|
||||||
*/
|
*/
|
||||||
public void start(){
|
public void start(){
|
||||||
Globals.clientConnection.queueOutgoingMessage(
|
Globals.clientState.clientConnection.queueOutgoingMessage(
|
||||||
SynchronizationMessage.constructClientRequestBTreeActionMessage(
|
SynchronizationMessage.constructClientRequestBTreeActionMessage(
|
||||||
Globals.clientSceneWrapper.mapClientToServerId(parent.getId()),
|
Globals.clientState.clientSceneWrapper.mapClientToServerId(parent.getId()),
|
||||||
BehaviorTreeIdEnums.REPLACE_0_ME,
|
BehaviorTreeIdEnums.REPLACE_0_ME,
|
||||||
ServerSynchronizationManager.SERVER_SYNC_START
|
ServerSynchronizationManager.SERVER_SYNC_START
|
||||||
)
|
)
|
||||||
|
|||||||
@ -13,6 +13,6 @@ public static REPLACE_2_ME attachTree(Entity parent, Object ... params){
|
|||||||
//This was generated automatically to properly alert various systems that the btree exists and should be tracked
|
//This was generated automatically to properly alert various systems that the btree exists and should be tracked
|
||||||
ServerBehaviorTreeUtils.attachBTreeToEntity(parent, rVal);
|
ServerBehaviorTreeUtils.attachBTreeToEntity(parent, rVal);
|
||||||
parent.putData(EntityDataStrings.REPLACE_1_ME, rVal);
|
parent.putData(EntityDataStrings.REPLACE_1_ME, rVal);
|
||||||
Globals.entityValueTrackingService.attachTreeToEntity(parent, BehaviorTreeIdEnums.BTREE_REPLACE_0_ME_ID);
|
Globals.serverState.entityValueTrackingService.attachTreeToEntity(parent, BehaviorTreeIdEnums.BTREE_REPLACE_0_ME_ID);
|
||||||
return rVal;
|
return rVal;
|
||||||
}
|
}
|
||||||
@ -7,5 +7,5 @@
|
|||||||
* @param tree The behavior tree to detach
|
* @param tree The behavior tree to detach
|
||||||
*/
|
*/
|
||||||
public static void detachTree(Entity entity, BehaviorTree tree){
|
public static void detachTree(Entity entity, BehaviorTree tree){
|
||||||
Globals.entityValueTrackingService.detatchTreeFromEntity(entity, BehaviorTreeIdEnums.BTREE_REPLACE_0_ME_ID);
|
Globals.serverState.entityValueTrackingService.detatchTreeFromEntity(entity, BehaviorTreeIdEnums.BTREE_REPLACE_0_ME_ID);
|
||||||
}
|
}
|
||||||
@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
public static StateCollection getStateCollection(Entity entity){
|
public static StateCollection getStateCollection(Entity entity){
|
||||||
StateCollection collection = new StateCollection();
|
StateCollection collection = new StateCollection();
|
||||||
for(int treeId : Globals.entityValueTrackingService.getEntityTrees(entity)){
|
for(int treeId : Globals.serverState.entityValueTrackingService.getEntityTrees(entity)){
|
||||||
switch(treeId){
|
switch(treeId){
|
||||||
REPLACE_0_ME
|
REPLACE_0_ME
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user