public override void Save(SaveObjectStore ObjectStore) { base.Save(ObjectStore); ObjectStore.Save("has-count", Count.HasValue); ObjectStore.Save("count", (Count.HasValue == true) ? (Count.Value) : (0)); ObjectStore.Save("behavior", Behavior); }
public override void Save(SaveObjectStore ObjectStore) { base.Save(ObjectStore); foreach (var Item in _Items) { var ItemObjectStore = ObjectStore.Save("item"); ItemObjectStore.Save("key", Item.Key); if (Item.Value is PersistentObject) { ItemObjectStore.SaveReference("value", Item.Value); } else { ItemObjectStore.SaveContained("value", Item.Value); } } }
public override void Save(SaveObjectStore ObjectStore) { base.Save(ObjectStore); ObjectStore.Save("desk", _Desk); }
public override void Save(SaveObjectStore ObjectStore) { Debug.Assert(_TargetFloor != null); base.Save(ObjectStore); ObjectStore.Save("target-floor", _TargetFloor.Value); }
public override void Save(SaveObjectStore ObjectStore) { base.Save(ObjectStore); ObjectStore.Save("x", X); }
public override void Save(SaveObjectStore ObjectStore) { base.Save(ObjectStore); ObjectStore.Save("state", _State); ObjectStore.Save("sub-goals", _SubGoals); }
public override void Save(SaveObjectStore ObjectStore) { base.Save(ObjectStore); ObjectStore.Save("cleaning-target", _CleaningTarget); ObjectStore.Save("start-trash-level", _StartTrashLevel); }
public override void Save(SaveObjectStore ObjectStore) { base.Save(ObjectStore); ObjectStore.Save("mind", Mind); }
public override void Save(SaveObjectStore ObjectStore) { ObjectStore.Save("state", State); }
public override void Save(SaveObjectStore ObjectStore) { base.Save(ObjectStore); ObjectStore.Save("root-goal", _RootGoal); }
public override void Save(SaveObjectStore ObjectStore) { base.Save(ObjectStore); ObjectStore.Save("action-state", _ActionState); ObjectStore.Save("minutes-to-action-state-change", _MinutesToActionStateChange); }
public override void Save(SaveObjectStore ObjectStore) { base.Save(ObjectStore); ObjectStore.Save("memory", Memory); }
public override void Save(SaveObjectStore ObjectStore) { base.Save(ObjectStore); ObjectStore.Save("travel-actions", _TravelActions); }
public override void Save(SaveObjectStore ObjectStore) { base.Save(ObjectStore); ObjectStore.Save("location", _Location); }
public override void Save(SaveObjectStore ObjectStore) { base.Save(ObjectStore); ObjectStore.Save("behaviors", Behaviors); ObjectStore.Save("behavior-index", _BehaviorIndex); }