Пример #1
0
        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");
        }