Monobit Unity Networking ver.2.8.0 Server API Reference (C++)
STREAM::SummaryRoomInfo Class Reference

ルーム統計情報. More...

#include <MunStream.hpp>

Collaboration diagram for STREAM::SummaryRoomInfo:

Public Member Functions

 SummaryRoomInfo ()
 コンストラクタ.
 
 SummaryRoomInfo (Text &_name, uint8 _maxPlayers, uint8 _isVisible, uint8 _isOpen, int32 _hostId, uint32 _playersLen, KeyValue *_roomParameters, uint16 _roomParametersLen)
 コンストラクタ. More...
 
SummaryRoomInfooperator= (const SummaryRoomInfo &rRef)
 代入処理. More...
 
uint32 Size ()
 データサイズの取得. More...
 
bool Pack (MunBuffer &buffer)
 MunBufferへのパッキング. More...
 
bool Unpack (MunBuffer &buffer)
 MunBufferからのアンパッキング. More...
 

Public Attributes

Text name
 ルーム名. More...
 
uint32 maxPlayers
 ルーム内プレイヤー人数の上限. More...
 
uint8 isVisible
 ルーム情報をロビーに通知するかどうかのフラグ. More...
 
uint8 isOpen
 他プレイヤーのルーム入室を許可するかどうかのフラグ. More...
 
int32 hostId
 ホストID. More...
 
uint32 playersLen
 プレイヤーの登録数. More...
 
KeyValue roomParameters [ROOM_PARAMETERS_MAX]
 ルームパラメータ. More...
 
uint16 roomParametersLen
 ルームパラメータの登録数. More...
 

Detailed Description

ルーム統計情報.

Constructor & Destructor Documentation

STREAM::SummaryRoomInfo::SummaryRoomInfo ( Text _name,
uint8  _maxPlayers,
uint8  _isVisible,
uint8  _isOpen,
int32  _hostId,
uint32  _playersLen,
KeyValue _roomParameters,
uint16  _roomParametersLen 
)

コンストラクタ.

Parameters
_nameルーム名.
_maxPlayersルーム内プレイヤー人数の上限.
_isVisibleルーム情報をロビーに通知するかどうかのフラグ.
_isOpen他プレイヤーのルーム入室を許可するかどうかのフラグ.
_hostIdホストID.
_playersLenプレイヤーの登録数.
_roomParametersルームパラメータの先頭アドレス.
_roomParametersLen_roomParametersの登録数.

Member Function Documentation

SummaryRoomInfo& STREAM::SummaryRoomInfo::operator= ( const SummaryRoomInfo rRef)

代入処理.

Parameters
rRef代入値.
bool STREAM::SummaryRoomInfo::Pack ( MunBuffer buffer)

MunBufferへのパッキング.

Parameters
bufferMunBufferクラスオブジェクト.

Here is the call graph for this function:

Here is the caller graph for this function:

uint32 STREAM::SummaryRoomInfo::Size ( )

データサイズの取得.

Returns
uint32 データサイズを返す.

Here is the call graph for this function:

Here is the caller graph for this function:

bool STREAM::SummaryRoomInfo::Unpack ( MunBuffer buffer)

MunBufferからのアンパッキング.

Parameters
bufferMunBufferクラスオブジェクト.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

int32 STREAM::SummaryRoomInfo::hostId

ホストID.

uint8 STREAM::SummaryRoomInfo::isOpen

他プレイヤーのルーム入室を許可するかどうかのフラグ.

uint8 STREAM::SummaryRoomInfo::isVisible

ルーム情報をロビーに通知するかどうかのフラグ.

uint32 STREAM::SummaryRoomInfo::maxPlayers

ルーム内プレイヤー人数の上限.

Text STREAM::SummaryRoomInfo::name

ルーム名.

uint32 STREAM::SummaryRoomInfo::playersLen

プレイヤーの登録数.

KeyValue STREAM::SummaryRoomInfo::roomParameters[ROOM_PARAMETERS_MAX]

ルームパラメータ.

uint16 STREAM::SummaryRoomInfo::roomParametersLen

ルームパラメータの登録数.


The documentation for this class was generated from the following file: