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

Public Member Functions

 MutableRoom (const MutableRoom &toCopy)
 
virtual MutableRoomoperator= (const Room &toCopy)
 
virtual MutableRoomoperator= (const MutableRoom &toCopy)
 
nByte getPlayerCount (void) const
 
bool setMaxPlayers (nByte maxPlayers, const WebFlags &webflags=WebFlags())
 
bool setIsOpen (bool isOpen, const WebFlags &webflags=WebFlags())
 
bool getIsVisible (void) const
 
bool setIsVisible (bool isVisible, const WebFlags &webflags=WebFlags())
 
const Common::JVector< Player * > & getPlayers (void) const
 
const PlayergetPlayerForNumber (int playerNumber) const
 
int getMasterClientID (void) const
 
const Common::JVector< Common::JString > & getPropsListedInLobby (void) const
 
bool setPropsListedInLobby (const Common::JVector< Common::JString > &propsListedInLobby, const Common::JVector< Common::JString > &expectedList=Common::JVector< Common::JString >(), const WebFlags &webflags=WebFlags())
 
int getPlayerTtl (void) const
 
int getEmptyRoomTtl (void) const
 
bool getSuppressRoomEvents (void) const
 
const Common::JVector< Common::JString > * getPlugins (void) const
 
bool getPublishUserID (void) const
 
const Common::JVector< Common::JString > & getExpectedUsers (void) const
 
bool setExpectedUsers (const Common::JVector< Common::JString > &expectedUsers, const WebFlags &webflags=WebFlags())
 
bool mergeCustomProperties (const Common::Hashtable &customProperties, const Common::Hashtable &expectedCustomProperties=Common::Hashtable(), const WebFlags &webflags=WebFlags())
 
template<typename ktype , typename vtype >
bool addCustomProperty (const ktype &key, const vtype &value, const Common::Hashtable &expectedCustomProperties=Common::Hashtable(), const WebFlags &webflags=WebFlags())
 
template<typename ktype , typename vtype >
bool addCustomProperty (const ktype &key, const vtype pValueArray, typename Common::Helpers::ArrayLengthType< vtype >::type arrSize, const Common::Hashtable &expectedCustomProperties=Common::Hashtable(), const WebFlags &webflags=WebFlags())
 
template<typename ktype , typename vtype >
bool addCustomProperty (const ktype &key, const vtype pValueArray, const short *pArrSizes, const Common::Hashtable &expectedCustomProperties=Common::Hashtable(), const WebFlags &webflags=WebFlags())
 
bool addCustomProperties (const Common::Hashtable &customProperties, const Common::Hashtable &expectedCustomProperties=Common::Hashtable(), const WebFlags &webflags=WebFlags())
 
template<typename ktype >
bool removeCustomProperty (const ktype &key, const Common::Hashtable &expectedCustomProperties=Common::Hashtable(), const WebFlags &webflags=WebFlags())
 
template<typename ktype >
bool removeCustomProperties (const ktype *keys, unsigned int count, const Common::Hashtable &expectedCustomProperties=Common::Hashtable(), const WebFlags &webflags=WebFlags())
 
virtual Common::JString toString (bool withTypes=false, bool withCustomProperties=false, bool withPlayers=false) const
 
- Public Member Functions inherited from Room
virtual ~Room (void)
 
 Room (const Room &toCopy)
 
const Common::JStringgetName (void) const
 
nByte getMaxPlayers (void) const
 
bool getIsOpen (void) const
 
nByte getDirectMode (void) const
 
const Common::HashtablegetCustomProperties (void) const
 
bool operator== (const Room &room) 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=()

MutableRoom & operator= ( const Room 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 Room.

§ getPlayerCount()

nByte getPlayerCount ( void  ) const
virtual
Returns
the count of players that are currently inside this room

Reimplemented from Room.