public override void Load(LoadObjectStore ObjectStore) { base.Load(ObjectStore); _State = ObjectStore.LoadGoalState("state"); foreach (var Goal in ObjectStore.LoadGoals("sub-goals")) { _SubGoals.Add(Goal); } }
public override void Load(LoadObjectStore ObjectStore) { base.Load(ObjectStore); ObjectStore.LoadForEach("item", delegate(LoadObjectStore ItemObjectStore) { var Key = ItemObjectStore.LoadStringProperty("key"); var Value = ItemObjectStore.LoadProperty("value"); _Items.Add(Key, Value); }); }
public override void Load(LoadObjectStore ObjectStore) { base.Load(ObjectStore); var HasCount = ObjectStore.LoadBooleanProperty("has-count"); if (HasCount == true) { Count = ObjectStore.LoadUInt32Property("count"); } Behavior = ObjectStore.LoadObjectProperty <Goal>("behavior"); }
public override void Load(LoadObjectStore ObjectStore) { base.Load(ObjectStore); _Desk = ObjectStore.LoadDeskProperty("desk"); }
public override void Load(LoadObjectStore ObjectStore) { base.Load(ObjectStore); _TargetFloor = ObjectStore.LoadInt32Property("target-floor"); }
public override void Load(LoadObjectStore ObjectStore) { base.Load(ObjectStore); X = ObjectStore.LoadDoubleProperty("x"); }
public override void Load(LoadObjectStore ObjectStore) { base.Load(ObjectStore); _CleaningTarget = ObjectStore.LoadDeskProperty("cleaning-target"); _StartTrashLevel = ObjectStore.LoadDoubleProperty("start-trash-level"); }
public override void Load(LoadObjectStore ObjectStore) { base.Load(ObjectStore); Mind = ObjectStore.LoadMindProperty("mind"); }
public override void Load(LoadObjectStore ObjectStore) { State = ObjectStore.LoadTravelActionState("state"); }
public override void Load(LoadObjectStore ObjectStore) { base.Load(ObjectStore); _RootGoal = ObjectStore.LoadGoalProperty("root-goal"); }
public override void Load(LoadObjectStore ObjectStore) { base.Load(ObjectStore); _ActionState = ObjectStore.LoadActionStateProperty("action-state"); _MinutesToActionStateChange = ObjectStore.LoadDoubleProperty("minutes-to-action-state-change"); }
public virtual void Load(LoadObjectStore ObjectStore) { }
public override void Load(LoadObjectStore ObjectStore) { base.Load(ObjectStore); Memory = ObjectStore.LoadMemoryProperty("memory"); }
public override void Load(LoadObjectStore ObjectStore) { base.Load(ObjectStore); _TravelActions = ObjectStore.LoadListProperty <TravelAction>("travel-actions"); }
public override void Load(LoadObjectStore ObjectStore) { base.Load(ObjectStore); _Location = ObjectStore.LoadVector2Property("location"); }
public override void Load(LoadObjectStore ObjectStore) { base.Load(ObjectStore); Behaviors = ObjectStore.LoadListProperty <Goal>("behaviors"); _BehaviorIndex = ObjectStore.LoadInt32Property("behavior-index"); }