AzeorthCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
WorldMock Class Reference

#include "WorldMock.h"

Inheritance diagram for WorldMock:
IWorld

Public Member Functions

 ~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 (void, SendAutoBroadcast,())
 
 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, LoadAutobroadcasts,())
 
 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,())
 
- Public Member Functions inherited from IWorld
virtual ~IWorld ()=default
 
virtual WorldSessionFindSession (uint32 id) const =0
 
virtual WorldSessionFindOfflineSession (uint32 id) const =0
 
virtual WorldSessionFindOfflineSessionForCharacterGUID (ObjectGuid::LowType guidLow) const =0
 
virtual void AddSession (WorldSession *s)=0
 
virtual void SendAutoBroadcast ()=0
 
virtual bool KickSession (uint32 id)=0
 
virtual void UpdateMaxSessionCounters ()=0
 
virtual const SessionMapGetAllSessions () 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 PlayerFindPlayerInZone (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 LoadAutobroadcasts ()=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
 

Detailed Description

Constructor & Destructor Documentation

◆ ~WorldMock()

WorldMock::~WorldMock ( )
inlineoverride
34{ }

Member Function Documentation

◆ MOCK_METHOD() [1/87]

WorldMock::MOCK_METHOD ( AccountTypes  ,
GetPlayerSecurityLimit  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [2/87]

WorldMock::MOCK_METHOD ( bool  ,
getAllowMovement  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [3/87]

WorldMock::MOCK_METHOD ( bool  ,
getBoolConfig  ,
(WorldBoolConfigs index)  ,
(const)   
)

◆ MOCK_METHOD() [4/87]

WorldMock::MOCK_METHOD ( bool  ,
HasRecentlyDisconnected  ,
(WorldSession *)  ,
()   
)

◆ MOCK_METHOD() [5/87]

WorldMock::MOCK_METHOD ( bool  ,
IsClosed  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [6/87]

WorldMock::MOCK_METHOD ( bool  ,
IsFFAPvPRealm  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [7/87]

WorldMock::MOCK_METHOD ( bool  ,
IsPvPRealm  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [8/87]

WorldMock::MOCK_METHOD ( bool  ,
IsShuttingDown  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [9/87]

WorldMock::MOCK_METHOD ( bool  ,
KickSession  ,
(uint32 id)  ,
()   
)

◆ MOCK_METHOD() [10/87]

WorldMock::MOCK_METHOD ( bool  ,
RemoveQueuedPlayer  ,
(WorldSession *session)  ,
()   
)

◆ MOCK_METHOD() [11/87]

WorldMock::MOCK_METHOD ( bool  ,
SendZoneMessage  ,
(uint32 zone, WorldPacket const *packet, WorldSession *self, TeamId teamId)  ,
()   
)

◆ MOCK_METHOD() [12/87]

WorldMock::MOCK_METHOD ( char const *  ,
GetDBVersion  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [13/87]

WorldMock::MOCK_METHOD ( const SessionMap ,
GetAllSessions  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [14/87]

WorldMock::MOCK_METHOD ( float  ,
getFloatConfig  ,
(WorldFloatConfigs index)  ,
(const)   
)

◆ MOCK_METHOD() [15/87]

WorldMock::MOCK_METHOD ( float  ,
getRate  ,
(Rates rate)  ,
(const)   
)

◆ MOCK_METHOD() [16/87]

WorldMock::MOCK_METHOD ( int32  ,
GetQueuePos  ,
(WorldSession *)  ,
()   
)

◆ MOCK_METHOD() [17/87]

WorldMock::MOCK_METHOD ( LocaleConstant  ,
GetAvailableDbcLocale  ,
(LocaleConstant locale)  ,
(const)   
)

◆ MOCK_METHOD() [18/87]

WorldMock::MOCK_METHOD ( LocaleConstant  ,
GetDefaultDbcLocale  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [19/87]

WorldMock::MOCK_METHOD ( Player ,
FindPlayerInZone  ,
(uint32 zone)  ,
()   
)

◆ MOCK_METHOD() [20/87]

WorldMock::MOCK_METHOD ( Seconds  ,
GetNextDailyQuestsResetTime  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [21/87]

WorldMock::MOCK_METHOD ( Seconds  ,
GetNextRandomBGResetTime  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [22/87]

WorldMock::MOCK_METHOD ( Seconds  ,
GetNextWeeklyQuestsResetTime  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [23/87]

WorldMock::MOCK_METHOD ( std::string const &  ,
GetDataPath  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [24/87]

WorldMock::MOCK_METHOD ( std::string const &  ,
GetNewCharString  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [25/87]

WorldMock::MOCK_METHOD ( std::string const &  ,
GetRealmName  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [26/87]

WorldMock::MOCK_METHOD ( time_t  ,
GetNextTimeWithDayAndHour  ,
(int8 dayOfWeek, int8 hour)  ,
()   
)

◆ MOCK_METHOD() [27/87]

WorldMock::MOCK_METHOD ( time_t  ,
GetNextTimeWithMonthAndHour  ,
(int8 month, int8 hour)  ,
()   
)

◆ MOCK_METHOD() [28/87]

WorldMock::MOCK_METHOD ( uint16  ,
GetConfigMaxSkillValue  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [29/87]

WorldMock::MOCK_METHOD ( uint32  ,
GetActiveAndQueuedSessionCount  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [30/87]

WorldMock::MOCK_METHOD ( uint32  ,
GetActiveSessionCount  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [31/87]

WorldMock::MOCK_METHOD ( uint32  ,
GetCleaningFlags  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [32/87]

WorldMock::MOCK_METHOD ( uint32  ,
getIntConfig  ,
(WorldIntConfigs index)  ,
(const)   
)

◆ MOCK_METHOD() [33/87]

WorldMock::MOCK_METHOD ( uint32  ,
GetMaxActiveSessionCount  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [34/87]

WorldMock::MOCK_METHOD ( uint32  ,
GetMaxPlayerCount  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [35/87]

WorldMock::MOCK_METHOD ( uint32  ,
GetMaxQueuedSessionCount  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [36/87]

WorldMock::MOCK_METHOD ( uint32  ,
GetNextWhoListUpdateDelaySecs  ,
()   
)

◆ MOCK_METHOD() [37/87]

WorldMock::MOCK_METHOD ( uint32  ,
GetPlayerAmountLimit  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [38/87]

WorldMock::MOCK_METHOD ( uint32  ,
GetPlayerCount  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [39/87]

WorldMock::MOCK_METHOD ( uint32  ,
GetQueuedSessionCount  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [40/87]

WorldMock::MOCK_METHOD ( uint32  ,
GetShutDownTimeLeft  ,
()  ,
(const)   
)

◆ MOCK_METHOD() [41/87]

WorldMock::MOCK_METHOD ( uint64  ,
getWorldState  ,
(uint32 index)  ,
(const)   
)

◆ MOCK_METHOD() [42/87]

WorldMock::MOCK_METHOD ( void  ,
AddQueuedPlayer  ,
(WorldSession *)  ,
()   
)

◆ MOCK_METHOD() [43/87]

WorldMock::MOCK_METHOD ( void  ,
AddSession  ,
(WorldSession *s)  ,
()   
)

◆ MOCK_METHOD() [44/87]

WorldMock::MOCK_METHOD ( void  ,
DecreasePlayerCount  ,
()   
)

◆ MOCK_METHOD() [45/87]

WorldMock::MOCK_METHOD ( void  ,
ForceGameEventUpdate  ,
()   
)

◆ MOCK_METHOD() [46/87]

WorldMock::MOCK_METHOD ( void  ,
IncreasePlayerCount  ,
()   
)

◆ MOCK_METHOD() [47/87]

WorldMock::MOCK_METHOD ( void  ,
KickAll  ,
()   
)

◆ MOCK_METHOD() [48/87]

WorldMock::MOCK_METHOD ( void  ,
KickAllLess  ,
(AccountTypes sec)  ,
()   
)

◆ MOCK_METHOD() [49/87]

WorldMock::MOCK_METHOD ( void  ,
LoadAutobroadcasts  ,
()   
)

◆ MOCK_METHOD() [50/87]

WorldMock::MOCK_METHOD ( void  ,
LoadConfigSettings  ,
(bool reload)  ,
()   
)

◆ MOCK_METHOD() [51/87]

WorldMock::MOCK_METHOD ( void  ,
LoadDBAllowedSecurityLevel  ,
()   
)

◆ MOCK_METHOD() [52/87]

WorldMock::MOCK_METHOD ( void  ,
LoadDBVersion  ,
()   
)

◆ MOCK_METHOD() [53/87]

WorldMock::MOCK_METHOD ( void  ,
LoadWorldStates  ,
()   
)

◆ MOCK_METHOD() [54/87]

WorldMock::MOCK_METHOD ( void  ,
ProcessCliCommands  ,
()   
)

◆ MOCK_METHOD() [55/87]

WorldMock::MOCK_METHOD ( void  ,
QueueCliCommand  ,
(CliCommandHolder *commandHolder)  ,
()   
)

◆ MOCK_METHOD() [56/87]

WorldMock::MOCK_METHOD ( void  ,
RemoveOldCorpses  ,
()   
)

◆ MOCK_METHOD() [57/87]

WorldMock::MOCK_METHOD ( void  ,
ResetEventSeasonalQuests  ,
(uint16 event_id)  ,
()   
)

◆ MOCK_METHOD() [58/87]

WorldMock::MOCK_METHOD ( void  ,
SendAutoBroadcast  ,
()   
)

◆ MOCK_METHOD() [59/87]

WorldMock::MOCK_METHOD ( void  ,
SendGlobalGMMessage  ,
(WorldPacket const *packet, WorldSession *self, TeamId teamId)  ,
()   
)

◆ MOCK_METHOD() [60/87]

WorldMock::MOCK_METHOD ( void  ,
SendGlobalMessage  ,
(WorldPacket const *packet, WorldSession *self, TeamId teamId)  ,
()   
)

◆ MOCK_METHOD() [61/87]

WorldMock::MOCK_METHOD ( void  ,
SendGlobalText  ,
(const char *text, WorldSession *self)  ,
()   
)

◆ MOCK_METHOD() [62/87]

WorldMock::MOCK_METHOD ( void  ,
SendServerMessage  ,
(ServerMessageType messageID, std::string stringParam, Player *player)   
)

◆ MOCK_METHOD() [63/87]

WorldMock::MOCK_METHOD ( void  ,
SendZoneText  ,
(uint32 zone, const char *text, WorldSession *self, TeamId teamId)  ,
()   
)

◆ MOCK_METHOD() [64/87]

WorldMock::MOCK_METHOD ( void  ,
SetAllowMovement  ,
(bool allow)  ,
()   
)

◆ MOCK_METHOD() [65/87]

WorldMock::MOCK_METHOD ( void  ,
setBoolConfig  ,
(WorldBoolConfigs index, bool value)  ,
()   
)

◆ MOCK_METHOD() [66/87]

WorldMock::MOCK_METHOD ( void  ,
SetCleaningFlags  ,
(uint32 flags)  ,
()   
)

◆ MOCK_METHOD() [67/87]

WorldMock::MOCK_METHOD ( void  ,
SetClosed  ,
(bool val)  ,
()   
)

◆ MOCK_METHOD() [68/87]

WorldMock::MOCK_METHOD ( void  ,
setFloatConfig  ,
(WorldFloatConfigs index, float value)  ,
()   
)

◆ MOCK_METHOD() [69/87]

WorldMock::MOCK_METHOD ( void  ,
SetInitialWorldSettings  ,
()   
)

◆ MOCK_METHOD() [70/87]

WorldMock::MOCK_METHOD ( void  ,
setIntConfig  ,
(WorldIntConfigs index, uint32 value)  ,
()   
)

◆ MOCK_METHOD() [71/87]

WorldMock::MOCK_METHOD ( void  ,
SetNewCharString  ,
(std::string const &str)  ,
()   
)

◆ MOCK_METHOD() [72/87]

WorldMock::MOCK_METHOD ( void  ,
SetPlayerAmountLimit  ,
(uint32 limit)  ,
()   
)

◆ MOCK_METHOD() [73/87]

WorldMock::MOCK_METHOD ( void  ,
SetPlayerSecurityLimit  ,
(AccountTypes sec)  ,
()   
)

◆ MOCK_METHOD() [74/87]

WorldMock::MOCK_METHOD ( void  ,
setRate  ,
(Rates rate, float value)  ,
()   
)

◆ MOCK_METHOD() [75/87]

WorldMock::MOCK_METHOD ( void  ,
SetRealmName  ,
(std::string name)  ,
()   
)

◆ MOCK_METHOD() [76/87]

WorldMock::MOCK_METHOD ( void  ,
setWorldState  ,
(uint32 index, uint64 value)  ,
()   
)

◆ MOCK_METHOD() [77/87]

WorldMock::MOCK_METHOD ( void  ,
ShutdownCancel  ,
()   
)

◆ MOCK_METHOD() [78/87]

WorldMock::MOCK_METHOD ( void  ,
ShutdownMsg  ,
(bool show, Player *player, const std::string &reason)  ,
()   
)

◆ MOCK_METHOD() [79/87]

WorldMock::MOCK_METHOD ( void  ,
ShutdownServ  ,
(uint32 time, uint32 options, uint8 exitcode, const std::string &reason)  ,
()   
)

◆ MOCK_METHOD() [80/87]

WorldMock::MOCK_METHOD ( void  ,
Update  ,
(uint32 diff)  ,
()   
)

◆ MOCK_METHOD() [81/87]

WorldMock::MOCK_METHOD ( void  ,
UpdateAreaDependentAuras  ,
()   
)

◆ MOCK_METHOD() [82/87]

WorldMock::MOCK_METHOD ( void  ,
UpdateMaxSessionCounters  ,
()   
)

◆ MOCK_METHOD() [83/87]

WorldMock::MOCK_METHOD ( void  ,
UpdateRealmCharCount  ,
(uint32 accid)  ,
()   
)

◆ MOCK_METHOD() [84/87]

WorldMock::MOCK_METHOD ( void  ,
UpdateSessions  ,
(uint32 diff)  ,
()   
)

◆ MOCK_METHOD() [85/87]

WorldMock::MOCK_METHOD ( WorldSession ,
FindOfflineSession  ,
(uint32 id)  ,
(const)   
)

◆ MOCK_METHOD() [86/87]

WorldMock::MOCK_METHOD ( WorldSession ,
FindOfflineSessionForCharacterGUID  ,
(ObjectGuid::LowType guidLow)  ,
(const)   
)

◆ MOCK_METHOD() [87/87]

WorldMock::MOCK_METHOD ( WorldSession ,
FindSession  ,
(uint32 id)  ,
(const)   
)

◆ SendGMText()

void WorldMock::SendGMText ( uint32  string_id,
  ... 
)
inlineoverridevirtual

Implements IWorld.

79{}

◆ SendWorldText()

void WorldMock::SendWorldText ( uint32  string_id,
  ... 
)
inlineoverridevirtual

Implements IWorld.

76{}

◆ SendWorldTextOptional()

void WorldMock::SendWorldTextOptional ( uint32  string_id,
uint32  flag,
  ... 
)
inlineoverridevirtual

Implements IWorld.

77{}