Photon C++ Client API
5.0.7.3
|
Public Member Functions | |
MutablePlayer (const MutablePlayer &toCopy) | |
virtual MutablePlayer & | operator= (const Player &toCopy) |
virtual MutablePlayer & | operator= (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::JString & | getName () const |
const Common::JString & | getUserID () const |
const Common::Hashtable & | getCustomProperties () const |
bool | getIsInactive (void) const |
bool | getIsMasterClient (void) const |
bool | operator== (const Player &player) const |
virtual Common::JString & | toString (Common::JString &retStr, bool withTypes=false) const |
virtual Common::JString | toString (bool withTypes, bool withCustomProperties) const |
virtual JString & | toString (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 |
|
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.