Photon C++ Client API  4.1.15.3
Public Member Functions | List of all members
MutablePlayer Class Reference
Inheritance diagram for MutablePlayer:
Inheritance graph
[legend]
Collaboration diagram for MutablePlayer:
Collaboration graph
[legend]

Public Member Functions

 MutablePlayer (const MutablePlayer &toCopy)
 
virtual MutablePlayeroperator= (const Player &toCopy)
 
virtual MutablePlayeroperator= (const MutablePlayer &toCopy)
 
void setName (const Common::JString &name, const WebFlags &webflags=WebFlags())
 
void mergeCustomProperties (const Common::Hashtable &customProperties, const WebFlags &webflags=WebFlags())
 
template<typename ktype , typename vtype >
void addCustomProperty (const ktype &key, const vtype &value, const WebFlags &webflags=WebFlags())
 
template<typename ktype , typename vtype >
void addCustomProperty (const ktype &key, const vtype pValueArray, typename Common::Helpers::ArrayLengthType< vtype >::type arrSize, const WebFlags &webflags=WebFlags())
 
template<typename ktype , typename vtype >
void addCustomProperty (const ktype &key, const vtype pValueArray, const short *pArrSizes, const WebFlags &webflags=WebFlags())
 
void addCustomProperties (const Common::Hashtable &customProperties, const WebFlags &webflags=WebFlags())
 
template<typename ktype >
void removeCustomProperty (const ktype &key, const WebFlags &webflags=WebFlags())
 
template<typename ktype >
void removeCustomProperties (const ktype *keys, unsigned int count, const WebFlags &webflags=WebFlags())
 
- Public Member Functions inherited from Player
virtual ~Player (void)
 
 Player (const Player &toCopy)
 
int getNumber (void) const
 
const Common::JStringgetName () const
 
const Common::JStringgetUserID () const
 
const Common::HashtablegetCustomProperties () const
 
bool getIsInactive (void) const
 
bool getIsMasterClient (void) const
 
bool operator== (const Player &player) const
 
virtual Common::JStringtoString (Common::JString &retStr, bool withTypes=false) const
 
virtual Common::JString toString (bool withTypes, bool withCustomProperties) const
 
- Public Member Functions inherited from Base
virtual ~Base (void)
 
- Public Member Functions inherited from ToString
virtual ~ToString (void)
 
virtual JString typeToString (void) const
 
JString toString (bool withTypes=false) const
 

Additional Inherited Members

- Static Public Member Functions inherited from Base
static void setListener (const BaseListener *baseListener)
 
static int getDebugOutputLevel (void)
 
static bool setDebugOutputLevel (int debugLevel)
 
static const LogFormatOptionsgetLogFormatOptions (void)
 
static void setLogFormatOptions (const LogFormatOptions &options)
 

Member Function Documentation

§ operator=()

MutablePlayer & operator= ( const Player toCopy)
virtual

operator=.

Makes a deep copy of its right operand into its left operand.

This overwrites old data in the left operand.

Reimplemented from Player.