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

mun_roomサーバからMUNクライアントに対して送信される、ルームログイン処理結果. More...

#include <MunStream.hpp>

Collaboration diagram for STREAM::RoomLoginPlayerResponse:

Public Member Functions

 RoomLoginPlayerResponse ()
 コンストラクタ.
 
 RoomLoginPlayerResponse (int32 _result, uint64 _roomId, RoomInfo &_roomInfo, int32 _playerId, PlayerInfo *_players, uint32 _playersLen)
 コンストラクタ. More...
 
RoomLoginPlayerResponseoperator= (const RoomLoginPlayerResponse &rRef)
 代入処理. More...
 
uint32 Size ()
 データサイズの取得. More...
 
bool Pack (MunBuffer &buffer)
 MunBufferへのパッキング. More...
 
bool Unpack (MunBuffer &buffer)
 MunBufferからのアンパッキング. More...
 

Public Attributes

int32 result
 ログイン処理結果(列挙型ERRORCODE_IDの定数). More...
 
uint64 roomId
 ルームID. More...
 
RoomInfo roomInfo
 ルーム情報. More...
 
int32 playerId
 プレイヤーID. More...
 
PlayerInfo players [PLAYER_MAX]
 ルーム内プレイヤー情報. More...
 
uint32 playersLen
 ルーム内プレイヤー情報の数. More...
 

Static Public Attributes

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

Detailed Description

mun_roomサーバからMUNクライアントに対して送信される、ルームログイン処理結果.

Constructor & Destructor Documentation

STREAM::RoomLoginPlayerResponse::RoomLoginPlayerResponse ( int32  _result,
uint64  _roomId,
RoomInfo _roomInfo,
int32  _playerId,
PlayerInfo _players,
uint32  _playersLen 
)

コンストラクタ.

Parameters
_resultログイン処理結果(列挙型ERRORCODE_IDの定数).
_roomIdルームID.
_roomInfoルーム情報.
_playerIdプレイヤーID.
_playersルーム内プレイヤー情報.
_playersLen_players の登録数.

Member Function Documentation

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

代入処理.

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

MunBufferへのパッキング.

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

Here is the call graph for this function:

Here is the caller graph for this function:

uint32 STREAM::RoomLoginPlayerResponse::Size ( )

データサイズの取得.

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

Here is the call graph for this function:

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

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

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

Here is the call graph for this function:

Member Data Documentation

const uint16 STREAM::RoomLoginPlayerResponse::payloadType = ROOM_FUNCID_ROOM_LOGINPLAYERRESULT
static

payload_typeのID定数値.

int32 STREAM::RoomLoginPlayerResponse::playerId

プレイヤーID.

PlayerInfo STREAM::RoomLoginPlayerResponse::players[PLAYER_MAX]

ルーム内プレイヤー情報.

uint32 STREAM::RoomLoginPlayerResponse::playersLen

ルーム内プレイヤー情報の数.

int32 STREAM::RoomLoginPlayerResponse::result

ログイン処理結果(列挙型ERRORCODE_IDの定数).

uint64 STREAM::RoomLoginPlayerResponse::roomId

ルームID.

RoomInfo STREAM::RoomLoginPlayerResponse::roomInfo

ルーム情報.


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