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