Esempio n. 1
0
        protected BDatabaseBase(Engine.PhxEngine engine, Collections.IProtoEnum gameObjectTypes)
        {
            Engine = engine;

            ObjectDatabase = new ProtoDataObjectDatabase(this, typeof(DatabaseObjectKind));

            ObjectTypes = new Collections.BTypeNamesWithCode(gameObjectTypes);

            InitializeDatabaseInterfaces();
        }
Esempio n. 2
0
        public HPBarData()
        {
            ObjectDatabase = new ProtoDataObjectDatabase(this, typeof(HPBarDataObjectKind));

            HPBars            = new Collections.BListAutoId <BProtoHPBar>();
            ColorStages       = new Collections.BListAutoId <BProtoHPBarColorStages>();
            VeterancyBars     = new Collections.BListAutoId <BProtoVeterancyBar>();
            PieProgress       = new Collections.BListAutoId <BProtoPieProgress>();
            BobbleHeads       = new Collections.BListAutoId <BProtoBobbleHead>();
            BuildingStrengths = new Collections.BListAutoId <BProtoBuildingStrength>();

            InitializeDatabaseInterfaces();
        }