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

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

#include <MunStream.hpp>

Collaboration diagram for STREAM::RoomJoinedPlayerResponse:

Public Member Functions

 RoomJoinedPlayerResponse ()
 コンストラクタ.
 
 RoomJoinedPlayerResponse (int32 _hostId, PlayerInfo &_playerInfo)
 コンストラクタ. More...
 
RoomJoinedPlayerResponseoperator= (const RoomJoinedPlayerResponse &rRef)
 代入処理. More...
 
uint32 Size ()
 データサイズの取得. More...
 
bool Pack (MunBuffer &buffer)
 MunBufferへのパッキング. More...
 
bool Unpack (MunBuffer &buffer)
 MunBufferからのアンパッキング. More...
 

Public Attributes

int32 hostId
 ルームホストとなるプレイヤーID. More...
 
PlayerInfo playerInfo
 プレイヤー情報. More...
 

Static Public Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

STREAM::RoomJoinedPlayerResponse::RoomJoinedPlayerResponse ( int32  _hostId,
PlayerInfo _playerInfo 
)

コンストラクタ.

Parameters
_roomInfoルーム情報.
_playerInfoプレイヤー情報.

Member Function Documentation

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

代入処理.

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

MunBufferへのパッキング.

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

Here is the call graph for this function:

Here is the caller graph for this function:

uint32 STREAM::RoomJoinedPlayerResponse::Size ( )

データサイズの取得.

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

Here is the call graph for this function:

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

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

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

Here is the call graph for this function:

Member Data Documentation

int32 STREAM::RoomJoinedPlayerResponse::hostId

ルームホストとなるプレイヤーID.

const uint16 STREAM::RoomJoinedPlayerResponse::payloadType = ROOM_FUNCID_ROOM_JOINEDPLAYERRESULT
static

payload_typeのID定数値.

PlayerInfo STREAM::RoomJoinedPlayerResponse::playerInfo

プレイヤー情報.


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