Photon C++ Client API  5.0.7.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, int arrSize, const WebFlags &webflags=WebFlags())
 
template<typename ktype , typename vtype >
void addCustomProperty (const ktype &key, const vtype pValueArray, const int *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
 
virtual JStringtoString (JString &retStr, bool withTypes=false) const=0
 
JString toString (bool withTypes=false) const
 
- Public Member Functions inherited from ToString
virtual ~ToString (void)
 
virtual JString typeToString (void) const
 
JString toString (bool withTypes=false) const
 

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.