protected BDatabaseBase(Engine.PhxEngine engine, Collections.IProtoEnum gameObjectTypes) { Engine = engine; ObjectDatabase = new ProtoDataObjectDatabase(this, typeof(DatabaseObjectKind)); ObjectTypes = new Collections.BTypeNamesWithCode(gameObjectTypes); InitializeDatabaseInterfaces(); }
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(); }