Exemplo n.º 1
0
 private void onStructuresUnLoaded(StructureInventoryData data)
 {
     structureInventory.OnStructuresChanged -= onStructuresChanged;
     structureInventory = null;
     cachedCalculatedStructureInventory = null;
 }
Exemplo n.º 2
0
 private void onStructuresLoaded(StructureInventoryData data)
 {
     structureInventory = data;
     structureInventory.OnStructuresChanged += onStructuresChanged;
     this.onInventoryLoaded.InvokeSafe(DecorationType.Structure);
 }