Photon C++ Client API
4.1.12.2
|
MutablePlayer Class Reference
Inheritance diagram for MutablePlayer:
Collaboration diagram for MutablePlayer:
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, 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::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 |
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 LogFormatOptions & | getLogFormatOptions (void) |
static void | setLogFormatOptions (const LogFormatOptions &options) |
Member Function Documentation
§ operator=()
|
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.