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

ルーム作成情報. More...

#include <MunStream.hpp>

Collaboration diagram for STREAM::CreateRoomInfo:

Public Member Functions

 CreateRoomInfo ()
 コンストラクタ.
 
 CreateRoomInfo (Text &_name, uint32 _maxPlayers, uint8 _isVisible, uint8 _isOpen, KeyValue *_roomParameters, uint16 _roomParametersLen, Text *_lobbyParameters, uint16 _lobbyParametersLen, KeyValue *_playerParameters, uint16 _playerParametersLen, uint8 _isNeedHostPlayer)
 コンストラクタ. More...
 
CreateRoomInfooperator= (const CreateRoomInfo &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...
 
KeyValue roomParameters [ROOM_PARAMETERS_MAX]
 ルームパラメータ. More...
 
uint16 roomParametersLen
 ルームパラメータの登録数. More...
 
Text lobbyParameters [LOBBY_PARAMETERS_MAX]
 ロビー通知パラメータ. More...
 
uint16 lobbyParametersLen
 ロビー通知パラメータの登録数. More...
 
KeyValue playerParameters [PLAYER_PARAMETERS_MAX]
 プレイヤーパラメータ. More...
 
uint16 playerParametersLen
 プレイヤーパラメータの登録数. More...
 
uint8 isNeedHostPlayer
 ホストプレイヤーが必要かどうかのフラグ. More...
 

Detailed Description

ルーム作成情報.

Constructor & Destructor Documentation

STREAM::CreateRoomInfo::CreateRoomInfo ( Text _name,
uint32  _maxPlayers,
uint8  _isVisible,
uint8  _isOpen,
KeyValue _roomParameters,
uint16  _roomParametersLen,
Text _lobbyParameters,
uint16  _lobbyParametersLen,
KeyValue _playerParameters,
uint16  _playerParametersLen,
uint8  _isNeedHostPlayer 
)

コンストラクタ.

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

Member Function Documentation

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

代入処理.

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

MunBufferへのパッキング.

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

Here is the call graph for this function:

Here is the caller graph for this function:

uint32 STREAM::CreateRoomInfo::Size ( )

データサイズの取得.

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

Here is the call graph for this function:

Here is the caller graph for this function:

bool STREAM::CreateRoomInfo::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

uint8 STREAM::CreateRoomInfo::isNeedHostPlayer

ホストプレイヤーが必要かどうかのフラグ.

uint8 STREAM::CreateRoomInfo::isOpen

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

uint8 STREAM::CreateRoomInfo::isVisible

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

Text STREAM::CreateRoomInfo::lobbyParameters[LOBBY_PARAMETERS_MAX]

ロビー通知パラメータ.

uint16 STREAM::CreateRoomInfo::lobbyParametersLen

ロビー通知パラメータの登録数.

uint32 STREAM::CreateRoomInfo::maxPlayers

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

Text STREAM::CreateRoomInfo::name

ルーム名.

KeyValue STREAM::CreateRoomInfo::playerParameters[PLAYER_PARAMETERS_MAX]

プレイヤーパラメータ.

uint16 STREAM::CreateRoomInfo::playerParametersLen

プレイヤーパラメータの登録数.

KeyValue STREAM::CreateRoomInfo::roomParameters[ROOM_PARAMETERS_MAX]

ルームパラメータ.

uint16 STREAM::CreateRoomInfo::roomParametersLen

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


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