1123 {
1124 bool hasKey = true;
1126 {
1127 hasKey = false;
1129 {
1130 if (!lock->Index[i])
1131 continue;
1132
1134 {
1135 hasKey = true;
1136 break;
1137 }
1138 }
1139 }
1140
1141 if (!hasKey)
1142 return false;
1143
1145 return false;
1147
1152
1154 {
1158
1161
1163 {
1165 {
1166 instanceMap->PermBindAllPlayers();
1167 }
1168 }
1169 }
1170
1171 return false;
1172 }
std::uint32_t uint32
Definition: Define.h:107
DBCStorage< LockEntry > sLockStore(LockEntryfmt)
@ GO_STATE_ACTIVE
Definition: GameObjectData.h:690
@ ACTION_START_INTRO
Definition: boss_algalon_the_observer.cpp:81
Position const BrannIntroSpawnPos
Definition: boss_algalon_the_observer.cpp:198
@ EVENT_DESPAWN_CONSOLE
Definition: boss_algalon_the_observer.cpp:108
@ DATA_ALGALON_SUMMON_STATE
Definition: ulduar.h:90
@ GO_DOODAD_UL_SIGILDOOR_01
Definition: ulduar.h:250
@ GO_DOODAD_UL_SIGILDOOR_02
Definition: ulduar.h:251
@ NPC_BRANN_BRONZBEARD_ALG
Definition: ulduar.h:160
events
Definition: boss_sartura.cpp:43
@ GO_FLAG_IN_USE
Definition: SharedDefines.h:1603
#define MAX_LOCK_CASE
Definition: DBCStructure.h:1305
GameObject * GetGameObject(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:187
GameObject *const me
Definition: GameObjectAI.h:36
Definition: Creature.h:46
Definition: GameObject.h:121
void SetGameObjectFlag(GameObjectFlags flags)
Definition: GameObject.h:219
GameObjectTemplate const * GetGOInfo() const
Definition: GameObject.h:137
struct GameObjectTemplate::@227::@238 goober
uint32 lockId
Definition: GameObjectData.h:47
Map * GetMap() const
Definition: Object.h:531
TempSummon * SummonCreature(uint32 id, const Position &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0, SummonPropertiesEntry const *properties=nullptr, bool visibleBySummonerOnly=false) const
Definition: Object.cpp:2355
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1192
bool HasItemCount(uint32 item, uint32 count=1, bool inBankAlso=false) const
Definition: PlayerStorage.cpp:661
Definition: InstanceScript.h:142
InstanceMap * ToInstanceMap()
Definition: Map.h:546
Definition: DBCStructure.h:1308