Cyrus Mod Loader
Loading...
Searching...
No Matches
TournamentTemplate Class Reference

#include <TournamentTemplate.h>

Inheritance diagram for TournamentTemplate:
CoreTemplate PropertyClass

Public Member Functions

std::string getTournamentName ()
 
void setTournamentName (std::string val)
 
List< std::string > getAllowedMatches ()
 
void setAllowedMatches (List< std::string > val)
 
bool getUpdateLadder ()
 
void setUpdateLadder (bool val)
 
bool getUseEloBehavior ()
 
void setUseEloBehavior (bool val)
 
std::string getLadderTable ()
 
void setLadderTable (std::string val)
 
SharedPointer< MatchActor > * getMatchActor ()
 
void setMatchActor (SharedPointer< MatchActor > *val)
 
bool getBPremium ()
 
void setBPremium (bool val)
 
SharedPointer< Ladder > * getDefaultLadder ()
 
void setDefaultLadder (SharedPointer< Ladder > *val)
 
bool getIsBracketTournament ()
 
void setIsBracketTournament (bool val)
 
bool getPersisted ()
 
void setPersisted (bool val)
 
bool getPenalizeMatchDeclines ()
 
void setPenalizeMatchDeclines (bool val)
 
bool getHidePlayerInfo ()
 
void setHidePlayerInfo (bool val)
 
List< std::string > getPvpDuelModifiers ()
 
void setPvpDuelModifiers (List< std::string > val)
 
- Public Member Functions inherited from PropertyClass
virtual char * getClassName ()=0
 Gets the class name of the derived class in the format class T[*].
 
virtual void * getPropertyList ()=0
 Constructs and caches the PropertyList for the derived class, adding all reflected members and member functions.
 
virtual bool copy (uint32_t a1)=0
 Copies the property class data.
 
virtual void * serialize (void *a2, uint32_t a3)=0
 Serializes the derived class's PropertyList as XML.
 
virtual bool onCreated ()=0
 Called when the PropertyClass is created.
 
template<typename T >
CYRUS T * as ()
 Casts this to a pointer of type T.
 
virtual void onPostLoad ()=0
 Called when the PropertyClass is loaded, i.e., initialize is called and onCreated has finished.
 
virtual void onFinalizeLoad ()=0
 
virtual bool shouldNotSerialize ()=0
 Determines if the PropertyClass should not be serialized.
 

Additional Inherited Members

- Public Attributes inherited from CoreTemplate
std::vector< BehaviorTemplate * > behaviors
 

Member Function Documentation

◆ getAllowedMatches()

List< std::string > TournamentTemplate::getAllowedMatches ( )
inline

◆ getBPremium()

bool TournamentTemplate::getBPremium ( )
inline

◆ getDefaultLadder()

SharedPointer< Ladder > * TournamentTemplate::getDefaultLadder ( )
inline

◆ getHidePlayerInfo()

bool TournamentTemplate::getHidePlayerInfo ( )
inline

◆ getIsBracketTournament()

bool TournamentTemplate::getIsBracketTournament ( )
inline

◆ getLadderTable()

std::string TournamentTemplate::getLadderTable ( )
inline

◆ getMatchActor()

SharedPointer< MatchActor > * TournamentTemplate::getMatchActor ( )
inline

◆ getPenalizeMatchDeclines()

bool TournamentTemplate::getPenalizeMatchDeclines ( )
inline

◆ getPersisted()

bool TournamentTemplate::getPersisted ( )
inline

◆ getPvpDuelModifiers()

List< std::string > TournamentTemplate::getPvpDuelModifiers ( )
inline

◆ getTournamentName()

std::string TournamentTemplate::getTournamentName ( )
inline

◆ getUpdateLadder()

bool TournamentTemplate::getUpdateLadder ( )
inline

◆ getUseEloBehavior()

bool TournamentTemplate::getUseEloBehavior ( )
inline

◆ setAllowedMatches()

void TournamentTemplate::setAllowedMatches ( List< std::string > val)
inline

◆ setBPremium()

void TournamentTemplate::setBPremium ( bool val)
inline

◆ setDefaultLadder()

void TournamentTemplate::setDefaultLadder ( SharedPointer< Ladder > * val)
inline

◆ setHidePlayerInfo()

void TournamentTemplate::setHidePlayerInfo ( bool val)
inline

◆ setIsBracketTournament()

void TournamentTemplate::setIsBracketTournament ( bool val)
inline

◆ setLadderTable()

void TournamentTemplate::setLadderTable ( std::string val)
inline

◆ setMatchActor()

void TournamentTemplate::setMatchActor ( SharedPointer< MatchActor > * val)
inline

◆ setPenalizeMatchDeclines()

void TournamentTemplate::setPenalizeMatchDeclines ( bool val)
inline

◆ setPersisted()

void TournamentTemplate::setPersisted ( bool val)
inline

◆ setPvpDuelModifiers()

void TournamentTemplate::setPvpDuelModifiers ( List< std::string > val)
inline

◆ setTournamentName()

void TournamentTemplate::setTournamentName ( std::string val)
inline

◆ setUpdateLadder()

void TournamentTemplate::setUpdateLadder ( bool val)
inline

◆ setUseEloBehavior()

void TournamentTemplate::setUseEloBehavior ( bool val)
inline