update source stubs to reflect new service locs
All checks were successful
studiorailgun/highlevel-netcode-gen/pipeline/head This commit looks good

This commit is contained in:
austin 2025-05-24 16:51:32 -04:00
parent 5ba8d0084f
commit bf4095d065
7 changed files with 10 additions and 10 deletions

View File

@ -12,7 +12,7 @@ public static REPLACE_2_ME attachTree(Entity parent, Object ... params){
//!!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
parent.putData(EntityDataStrings.REPLACE_1_ME, rVal);
Globals.clientSceneWrapper.getScene().registerBehaviorTree(rVal);
Globals.entityValueTrackingService.attachTreeToEntity(parent, BehaviorTreeIdEnums.BTREE_REPLACE_0_ME_ID);
Globals.clientState.clientSceneWrapper.getScene().registerBehaviorTree(rVal);
Globals.serverState.entityValueTrackingService.attachTreeToEntity(parent, BehaviorTreeIdEnums.BTREE_REPLACE_0_ME_ID);
return rVal;
}

View File

@ -7,5 +7,5 @@
* @param tree The behavior tree to detach
*/
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);
}

View File

@ -5,9 +5,9 @@
* </p>
*/
public void interrupt(){
Globals.clientConnection.queueOutgoingMessage(
Globals.clientState.clientConnection.queueOutgoingMessage(
SynchronizationMessage.constructClientRequestBTreeActionMessage(
Globals.clientSceneWrapper.mapClientToServerId(parent.getId()),
Globals.clientState.clientSceneWrapper.mapClientToServerId(parent.getId()),
BehaviorTreeIdEnums.REPLACE_0_ME,
ServerSynchronizationManager.SERVER_SYNC_INTERRUPT
)

View File

@ -5,9 +5,9 @@
* </p>
*/
public void start(){
Globals.clientConnection.queueOutgoingMessage(
Globals.clientState.clientConnection.queueOutgoingMessage(
SynchronizationMessage.constructClientRequestBTreeActionMessage(
Globals.clientSceneWrapper.mapClientToServerId(parent.getId()),
Globals.clientState.clientSceneWrapper.mapClientToServerId(parent.getId()),
BehaviorTreeIdEnums.REPLACE_0_ME,
ServerSynchronizationManager.SERVER_SYNC_START
)

View File

@ -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
ServerBehaviorTreeUtils.attachBTreeToEntity(parent, 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;
}

View File

@ -7,5 +7,5 @@
* @param tree The behavior tree to detach
*/
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);
}

View File

@ -8,7 +8,7 @@
*/
public static StateCollection getStateCollection(Entity entity){
StateCollection collection = new StateCollection();
for(int treeId : Globals.entityValueTrackingService.getEntityTrees(entity)){
for(int treeId : Globals.serverState.entityValueTrackingService.getEntityTrees(entity)){
switch(treeId){
REPLACE_0_ME
}