OpenMoHAA 0.82.1
Loading...
Searching...
No Matches
DM_Manager Class Reference
Inheritance diagram for DM_Manager:
Listener Class LightClass

Public Member Functions

 CLASS_PROTOTYPE (DM_Manager)
 
void InitGame (void)
 
void AddPlayer (Player *player)
 
bool JoinTeam (Player *player, teamtype_t teamType)
 
void LeaveTeam (Player *player)
 
void RebuildTeamConfigstrings (void)
 
void RemovePlayer (Player *player)
 
void PlayerKilled (Player *player)
 
void Countdown (Event *ev)
 
void Reset (void)
 
void Score (Player *player)
 
void PrintAllClients (str s)
 
bool CheckEndMatch (void)
 
bool TeamHitScoreLimit (void)
 
bool PlayerHitScoreLimit (void)
 
void EventDoRoundTransition (Event *ev)
 
void EventFinishRoundTransition (Event *ev)
 
void TeamWin (int teamnum)
 
void StartRound (void)
 
void EndRound (void)
 
bool RoundActive (void) const
 
bool GameHasRounds (void) const
 
bool GameAllowsRespawns (void) const
 
void SetGameAllowsRespawns (bool bAllow)
 
bool AllowRespawn (void) const
 
int GetRoundLimit (void) const
 
void SetDefaultRoundLimit (int round_limit)
 
const_str GetClockSide (void) const
 
void SetClockSide (const_str s)
 
const_str GetBombPlantTeam (void) const
 
void SetBombPlantTeam (const_str s)
 
int GetTargetsToDestroy (void) const
 
void SetTargetsToDestroy (int)
 
int GetTargetsDestroyed (void) const
 
void SetTargetsDestroyed (int)
 
int GetBombsPlanted (void) const
 
void SetBombsPlanted (int)
 
int GetTeamWin (void)
 
bool WaitingForPlayers (void) const
 
bool IsGameActive (void) const
 
int PlayerCount (void) const
 
PlayerGetPlayer (int index) const
 
teamtype_t GetAutoJoinTeam (void)
 
DM_TeamGetTeamAllies (void)
 
DM_TeamGetTeamAxis (void)
 
float GetMatchStartTime (void)
 
void StopTeamRespawn (eController controller)
 
bool AllowTeamRespawn (int teamnum) const
 
int GetTeamSpawnTimeLeft () const
 
DM_TeamGetTeam (str name)
 
DM_TeamGetTeam (teamtype_t team)
 
- Public Member Functions inherited from Listener
 CLASS_PROTOTYPE (Listener)
 
virtual ListenerGetScriptOwner (void)
 
virtual void SetScriptOwner (Listener *newOwner)
 
void Archive (Archiver &arc) override
 
void CancelEventsOfType (Event *ev)
 
void CancelEventsOfType (Event &ev)
 
void CancelFlaggedEvents (int flags)
 
void CancelPendingEvents (void)
 
qboolean EventPending (Event &ev)
 
void PostEvent (Event *ev, float delay, int flags=0)
 
void PostEvent (const Event &ev, float delay, int flags=0)
 
qboolean PostponeAllEvents (float time)
 
qboolean PostponeEvent (Event &ev, float time)
 
bool ProcessEvent (const Event &ev)
 
bool ProcessEvent (Event *ev)
 
bool ProcessEvent (Event &ev)
 
ScriptVariableProcessEventReturn (Event *ev)
 
void ProcessContainerEvent (const Container< Event * > &conev)
 
qboolean ProcessPendingEvents (void)
 
bool ProcessScriptEvent (Event &ev)
 
bool ProcessScriptEvent (Event *ev)
 
int GetFlags (Event *event) const
 
qboolean ValidEvent (str name) const
 
void CommandDelay (Event *ev)
 
void Remove (Event *ev)
 
void ScriptRemove (Event *ev)
 
void EventInheritsFrom (Event *ev)
 
void EventIsInheritedBy (Event *ev)
 
void GetClassname (Event *ev)
 
- Public Member Functions inherited from Class
virtual ClassDefclassinfo (void) const
 
void warning (const char *function, const char *format,...) const
 
void error (const char *function, const char *format,...) const
 
qboolean inheritsFrom (ClassDef *c) const
 
qboolean inheritsFrom (const char *name) const
 
qboolean isInheritedBy (const char *name) const
 
qboolean isInheritedBy (ClassDef *c) const
 
const char * getClassname (void) const
 
const char * getClassID (void) const
 
const char * getSuperclass (void) const
 
- Public Member Functions inherited from LightClass
void * operator new (size_t s)
 
void operator delete (void *ptr)
 
void * operator new (size_t size, void *placement)
 
void operator delete (void *ptr, void *placement)
 
template<typename T>
void * operator new (size_t size, T &placement)
 
template<typename T>
void operator delete (void *ptr, T &placement)
 

Static Protected Member Functions

static int compareScores (const void *elem1, const void *elem2)
 

Additional Inherited Members

- Static Public Member Functions inherited from Class
static void * _newInstance (void)
 
static ClassDefclassinfostatic (void)
 
- Static Public Attributes inherited from Listener
static bool EventSystemStarted = false
 
static bool ProcessingEvents = false
 
- Static Public Attributes inherited from Class
static ClassDef ClassInfo
 
static ClassDefHook _ClassInfo_
 
static ResponseDef< ClassResponses []
 
- Protected Member Functions inherited from Class
void ClearSafePointers ()
 

The documentation for this class was generated from the following files: