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

MUNクライアントからmun_masterサーバに対して送信される、ルーム入室要求. More...

#include <MunStream.hpp>

Collaboration diagram for STREAM::MasterRoomJoinRequest:

Public Member Functions

 MasterRoomJoinRequest ()
 コンストラクタ.
 
 MasterRoomJoinRequest (uint8 _protocol, Text &_roomName, KeyValue *_playerParameters, uint16 _playerParametersLen)
 コンストラクタ. More...
 
MasterRoomJoinRequestoperator= (const MasterRoomJoinRequest &rRef)
 代入処理. More...
 
uint32 Size ()
 データサイズの取得. More...
 
bool Pack (MunBuffer &buffer)
 MunBufferへのパッキング. More...
 
bool Unpack (MunBuffer &buffer)
 MunBufferからのアンパッキング. More...
 

Public Attributes

uint8 protocol
 問い合わせするルームサーバの接続プロトコルの要求について。0 なら TCP, 1なら UDP. More...
 
Text roomName
 ルーム名. More...
 
KeyValue playerParameters [PLAYER_PARAMETERS_MAX]
 プレイヤーパラメータ. More...
 
uint16 playerParametersLen
 プレイヤーパラメータの登録数. More...
 

Static Public Attributes

static const uint16 payloadType = MASTER_FUNCID_MASTER_ROOM_JOIN
 payload_typeのID定数値. More...
 

Detailed Description

MUNクライアントからmun_masterサーバに対して送信される、ルーム入室要求.

Constructor & Destructor Documentation

STREAM::MasterRoomJoinRequest::MasterRoomJoinRequest ( uint8  _protocol,
Text _roomName,
KeyValue _playerParameters,
uint16  _playerParametersLen 
)

コンストラクタ.

Parameters
_protocol問い合わせするルームサーバの接続プロトコルの要求について。0 なら TCP, 1なら UDP.
_roomNameルーム名.
_playerParametersプレイヤーパラメータの先頭アドレス.
_playerParametersLen_playerParametersの登録数.

Member Function Documentation

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

代入処理.

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

MunBufferへのパッキング.

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

Here is the call graph for this function:

uint32 STREAM::MasterRoomJoinRequest::Size ( )

データサイズの取得.

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

Here is the call graph for this function:

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

const uint16 STREAM::MasterRoomJoinRequest::payloadType = MASTER_FUNCID_MASTER_ROOM_JOIN
static

payload_typeのID定数値.

KeyValue STREAM::MasterRoomJoinRequest::playerParameters[PLAYER_PARAMETERS_MAX]

プレイヤーパラメータ.

uint16 STREAM::MasterRoomJoinRequest::playerParametersLen

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

uint8 STREAM::MasterRoomJoinRequest::protocol

問い合わせするルームサーバの接続プロトコルの要求について。0 なら TCP, 1なら UDP.

Text STREAM::MasterRoomJoinRequest::roomName

ルーム名.


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