|
| ~WorldMock () override |
|
| MOCK_METHOD (WorldSession *, FindSession,(uint32 id),(const)) |
|
| MOCK_METHOD (WorldSession *, FindOfflineSession,(uint32 id),(const)) |
|
| MOCK_METHOD (WorldSession *, FindOfflineSessionForCharacterGUID,(ObjectGuid::LowType guidLow),(const)) |
|
| MOCK_METHOD (void, AddSession,(WorldSession *s),()) |
|
| MOCK_METHOD (bool, KickSession,(uint32 id),()) |
|
| MOCK_METHOD (void, UpdateMaxSessionCounters,()) |
|
| MOCK_METHOD (const SessionMap &, GetAllSessions,(),(const)) |
|
| MOCK_METHOD (uint32, GetActiveAndQueuedSessionCount,(),(const)) |
|
| MOCK_METHOD (uint32, GetActiveSessionCount,(),(const)) |
|
| MOCK_METHOD (uint32, GetQueuedSessionCount,(),(const)) |
|
| MOCK_METHOD (uint32, GetMaxQueuedSessionCount,(),(const)) |
|
| MOCK_METHOD (uint32, GetMaxActiveSessionCount,(),(const)) |
|
| MOCK_METHOD (uint32, GetPlayerCount,(),(const)) |
|
| MOCK_METHOD (uint32, GetMaxPlayerCount,(),(const)) |
|
| MOCK_METHOD (void, IncreasePlayerCount,()) |
|
| MOCK_METHOD (void, DecreasePlayerCount,()) |
|
| MOCK_METHOD (Player *, FindPlayerInZone,(uint32 zone),()) |
|
| MOCK_METHOD (bool, IsClosed,(),(const)) |
|
| MOCK_METHOD (void, SetClosed,(bool val),()) |
|
| MOCK_METHOD (AccountTypes, GetPlayerSecurityLimit,(),(const)) |
|
| MOCK_METHOD (void, SetPlayerSecurityLimit,(AccountTypes sec),()) |
|
| MOCK_METHOD (void, LoadDBAllowedSecurityLevel,()) |
|
| MOCK_METHOD (void, SetPlayerAmountLimit,(uint32 limit),()) |
|
| MOCK_METHOD (uint32, GetPlayerAmountLimit,(),(const)) |
|
| MOCK_METHOD (void, AddQueuedPlayer,(WorldSession *),()) |
|
| MOCK_METHOD (bool, RemoveQueuedPlayer,(WorldSession *session),()) |
|
| MOCK_METHOD (int32, GetQueuePos,(WorldSession *),()) |
|
| MOCK_METHOD (bool, HasRecentlyDisconnected,(WorldSession *),()) |
|
| MOCK_METHOD (bool, getAllowMovement,(),(const)) |
|
| MOCK_METHOD (void, SetAllowMovement,(bool allow),()) |
|
| MOCK_METHOD (void, SetNewCharString,(std::string const &str),()) |
|
| MOCK_METHOD (std::string const &, GetNewCharString,(),(const)) |
|
| MOCK_METHOD (LocaleConstant, GetDefaultDbcLocale,(),(const)) |
|
| MOCK_METHOD (std::string const &, GetDataPath,(),(const)) |
|
| MOCK_METHOD (Seconds, GetNextDailyQuestsResetTime,(),(const)) |
|
| MOCK_METHOD (Seconds, GetNextWeeklyQuestsResetTime,(),(const)) |
|
| MOCK_METHOD (Seconds, GetNextRandomBGResetTime,(),(const)) |
|
| MOCK_METHOD (uint16, GetConfigMaxSkillValue,(),(const)) |
|
| MOCK_METHOD (void, SetInitialWorldSettings,()) |
|
| MOCK_METHOD (void, LoadConfigSettings,(bool reload),()) |
|
void | SendWorldText (uint32 string_id,...) override |
|
void | SendWorldTextOptional (uint32 string_id, uint32 flag,...) override |
|
| MOCK_METHOD (void, SendGlobalText,(const char *text, WorldSession *self),()) |
|
void | SendGMText (uint32 string_id,...) override |
|
| MOCK_METHOD (void, SendGlobalMessage,(WorldPacket const *packet, WorldSession *self, TeamId teamId),()) |
|
| MOCK_METHOD (void, SendGlobalGMMessage,(WorldPacket const *packet, WorldSession *self, TeamId teamId),()) |
|
| MOCK_METHOD (bool, SendZoneMessage,(uint32 zone, WorldPacket const *packet, WorldSession *self, TeamId teamId),()) |
|
| MOCK_METHOD (void, SendZoneText,(uint32 zone, const char *text, WorldSession *self, TeamId teamId),()) |
|
| MOCK_METHOD (void, SendServerMessage,(ServerMessageType messageID, std::string stringParam, Player *player)) |
|
| MOCK_METHOD (bool, IsShuttingDown,(),(const)) |
|
| MOCK_METHOD (uint32, GetShutDownTimeLeft,(),(const)) |
|
| MOCK_METHOD (void, ShutdownServ,(uint32 time, uint32 options, uint8 exitcode, const std::string &reason),()) |
|
| MOCK_METHOD (void, ShutdownCancel,()) |
|
| MOCK_METHOD (void, ShutdownMsg,(bool show, Player *player, const std::string &reason),()) |
|
| MOCK_METHOD (void, Update,(uint32 diff),()) |
|
| MOCK_METHOD (void, UpdateSessions,(uint32 diff),()) |
|
| MOCK_METHOD (void, setRate,(Rates rate, float value),()) |
|
| MOCK_METHOD (float, getRate,(Rates rate),(const)) |
|
| MOCK_METHOD (void, setBoolConfig,(WorldBoolConfigs index, bool value),()) |
|
| MOCK_METHOD (bool, getBoolConfig,(WorldBoolConfigs index),(const)) |
|
| MOCK_METHOD (void, setFloatConfig,(WorldFloatConfigs index, float value),()) |
|
| MOCK_METHOD (float, getFloatConfig,(WorldFloatConfigs index),(const)) |
|
| MOCK_METHOD (void, setIntConfig,(WorldIntConfigs index, uint32 value),()) |
|
| MOCK_METHOD (uint32, getIntConfig,(WorldIntConfigs index),(const)) |
|
| MOCK_METHOD (void, setWorldState,(uint32 index, uint64 value),()) |
|
| MOCK_METHOD (uint64, getWorldState,(uint32 index),(const)) |
|
| MOCK_METHOD (void, LoadWorldStates,()) |
|
| MOCK_METHOD (bool, IsPvPRealm,(),(const)) |
|
| MOCK_METHOD (bool, IsFFAPvPRealm,(),(const)) |
|
| MOCK_METHOD (void, KickAll,()) |
|
| MOCK_METHOD (void, KickAllLess,(AccountTypes sec),()) |
|
| MOCK_METHOD (uint32, GetNextWhoListUpdateDelaySecs,()) |
|
| MOCK_METHOD (void, ProcessCliCommands,()) |
|
| MOCK_METHOD (void, QueueCliCommand,(CliCommandHolder *commandHolder),()) |
|
| MOCK_METHOD (void, ForceGameEventUpdate,()) |
|
| MOCK_METHOD (void, UpdateRealmCharCount,(uint32 accid),()) |
|
| MOCK_METHOD (LocaleConstant, GetAvailableDbcLocale,(LocaleConstant locale),(const)) |
|
| MOCK_METHOD (void, LoadDBVersion,()) |
|
| MOCK_METHOD (char const *, GetDBVersion,(),(const)) |
|
| MOCK_METHOD (void, UpdateAreaDependentAuras,()) |
|
| MOCK_METHOD (uint32, GetCleaningFlags,(),(const)) |
|
| MOCK_METHOD (void, SetCleaningFlags,(uint32 flags),()) |
|
| MOCK_METHOD (void, ResetEventSeasonalQuests,(uint16 event_id),()) |
|
| MOCK_METHOD (time_t, GetNextTimeWithDayAndHour,(int8 dayOfWeek, int8 hour),()) |
|
| MOCK_METHOD (time_t, GetNextTimeWithMonthAndHour,(int8 month, int8 hour),()) |
|
| MOCK_METHOD (std::string const &, GetRealmName,(),(const)) |
|
| MOCK_METHOD (void, SetRealmName,(std::string name),()) |
|
| MOCK_METHOD (void, RemoveOldCorpses,()) |
|
virtual | ~IWorld ()=default |
|
virtual WorldSession * | FindSession (uint32 id) const =0 |
|
virtual WorldSession * | FindOfflineSession (uint32 id) const =0 |
|
virtual WorldSession * | FindOfflineSessionForCharacterGUID (ObjectGuid::LowType guidLow) const =0 |
|
virtual void | AddSession (WorldSession *s)=0 |
|
virtual bool | KickSession (uint32 id)=0 |
|
virtual void | UpdateMaxSessionCounters ()=0 |
|
virtual const SessionMap & | GetAllSessions () const =0 |
|
virtual uint32 | GetActiveAndQueuedSessionCount () const =0 |
|
virtual uint32 | GetActiveSessionCount () const =0 |
|
virtual uint32 | GetQueuedSessionCount () const =0 |
|
virtual uint32 | GetMaxQueuedSessionCount () const =0 |
|
virtual uint32 | GetMaxActiveSessionCount () const =0 |
|
virtual uint32 | GetPlayerCount () const =0 |
|
virtual uint32 | GetMaxPlayerCount () const =0 |
|
virtual void | IncreasePlayerCount ()=0 |
|
virtual void | DecreasePlayerCount ()=0 |
|
virtual Player * | FindPlayerInZone (uint32 zone)=0 |
|
virtual bool | IsClosed () const =0 |
|
virtual void | SetClosed (bool val)=0 |
|
virtual AccountTypes | GetPlayerSecurityLimit () const =0 |
|
virtual void | SetPlayerSecurityLimit (AccountTypes sec)=0 |
|
virtual void | LoadDBAllowedSecurityLevel ()=0 |
|
virtual void | SetPlayerAmountLimit (uint32 limit)=0 |
|
virtual uint32 | GetPlayerAmountLimit () const =0 |
|
virtual void | AddQueuedPlayer (WorldSession *)=0 |
|
virtual bool | RemoveQueuedPlayer (WorldSession *session)=0 |
|
virtual int32 | GetQueuePos (WorldSession *)=0 |
|
virtual bool | HasRecentlyDisconnected (WorldSession *)=0 |
|
virtual bool | getAllowMovement () const =0 |
|
virtual void | SetAllowMovement (bool allow)=0 |
|
virtual void | SetNewCharString (std::string const &str)=0 |
|
virtual std::string const & | GetNewCharString () const =0 |
|
virtual LocaleConstant | GetDefaultDbcLocale () const =0 |
|
virtual std::string const & | GetDataPath () const =0 |
|
virtual Seconds | GetNextDailyQuestsResetTime () const =0 |
|
virtual Seconds | GetNextWeeklyQuestsResetTime () const =0 |
|
virtual Seconds | GetNextRandomBGResetTime () const =0 |
|
virtual uint16 | GetConfigMaxSkillValue () const =0 |
|
virtual void | SetInitialWorldSettings ()=0 |
|
virtual void | LoadConfigSettings (bool reload=false)=0 |
|
virtual void | SendWorldText (uint32 string_id,...)=0 |
|
virtual void | SendWorldTextOptional (uint32 string_id, uint32 flag,...)=0 |
|
virtual void | SendGlobalText (const char *text, WorldSession *self)=0 |
|
virtual void | SendGMText (uint32 string_id,...)=0 |
|
virtual void | SendGlobalMessage (WorldPacket const *packet, WorldSession *self=nullptr, TeamId teamId=TEAM_NEUTRAL)=0 |
|
virtual void | SendGlobalGMMessage (WorldPacket const *packet, WorldSession *self=nullptr, TeamId teamId=TEAM_NEUTRAL)=0 |
|
virtual bool | SendZoneMessage (uint32 zone, WorldPacket const *packet, WorldSession *self=nullptr, TeamId teamId=TEAM_NEUTRAL)=0 |
|
virtual void | SendZoneText (uint32 zone, const char *text, WorldSession *self=nullptr, TeamId teamId=TEAM_NEUTRAL)=0 |
|
virtual void | SendServerMessage (ServerMessageType messageID, std::string stringParam="", Player *player=nullptr)=0 |
|
virtual bool | IsShuttingDown () const =0 |
|
virtual uint32 | GetShutDownTimeLeft () const =0 |
|
virtual void | ShutdownServ (uint32 time, uint32 options, uint8 exitcode, const std::string &reason=std::string())=0 |
|
virtual void | ShutdownCancel ()=0 |
|
virtual void | ShutdownMsg (bool show=false, Player *player=nullptr, const std::string &reason=std::string())=0 |
|
virtual void | Update (uint32 diff)=0 |
|
virtual void | UpdateSessions (uint32 diff)=0 |
|
virtual void | setRate (Rates rate, float value)=0 |
|
virtual float | getRate (Rates rate) const =0 |
|
virtual void | setBoolConfig (WorldBoolConfigs index, bool value)=0 |
|
virtual bool | getBoolConfig (WorldBoolConfigs index) const =0 |
|
virtual void | setFloatConfig (WorldFloatConfigs index, float value)=0 |
|
virtual float | getFloatConfig (WorldFloatConfigs index) const =0 |
|
virtual void | setIntConfig (WorldIntConfigs index, uint32 value)=0 |
|
virtual uint32 | getIntConfig (WorldIntConfigs index) const =0 |
|
virtual void | setWorldState (uint32 index, uint64 value)=0 |
|
virtual uint64 | getWorldState (uint32 index) const =0 |
|
virtual void | LoadWorldStates ()=0 |
|
virtual bool | IsPvPRealm () const =0 |
|
virtual bool | IsFFAPvPRealm () const =0 |
|
virtual void | KickAll ()=0 |
|
virtual void | KickAllLess (AccountTypes sec)=0 |
|
virtual uint32 | GetNextWhoListUpdateDelaySecs ()=0 |
|
virtual void | ProcessCliCommands ()=0 |
|
virtual void | QueueCliCommand (CliCommandHolder *commandHolder)=0 |
|
virtual void | ForceGameEventUpdate ()=0 |
|
virtual void | UpdateRealmCharCount (uint32 accid)=0 |
|
virtual LocaleConstant | GetAvailableDbcLocale (LocaleConstant locale) const =0 |
|
virtual void | LoadDBVersion ()=0 |
|
virtual char const * | GetDBVersion () const =0 |
|
virtual void | UpdateAreaDependentAuras ()=0 |
|
virtual uint32 | GetCleaningFlags () const =0 |
|
virtual void | SetCleaningFlags (uint32 flags)=0 |
|
virtual void | ResetEventSeasonalQuests (uint16 event_id)=0 |
|
virtual std::string const & | GetRealmName () const =0 |
|
virtual void | SetRealmName (std::string name)=0 |
|
virtual void | RemoveOldCorpses ()=0 |
|