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

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

#include <MunStream.hpp>

Public Member Functions

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

Public Attributes

int32 hostId
 ルームホストとなるプレイヤーID. More...
 
int32 playerId
 ログアウトしたプレイヤーID. More...
 

Static Public Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

STREAM::RoomLeftPlayerResponse::RoomLeftPlayerResponse ( int32  _hostId,
int32  _playerId 
)

コンストラクタ.

Parameters
_hostIdルームホストとなるプレイヤーID.
_playerIdログアウトしたプレイヤーID.

Member Function Documentation

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

代入処理.

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

MunBufferへのパッキング.

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

Here is the caller graph for this function:

uint32 STREAM::RoomLeftPlayerResponse::Size ( )

データサイズの取得.

Returns
uint32 データサイズを返す.
bool STREAM::RoomLeftPlayerResponse::Unpack ( MunBuffer buffer)

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

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

Member Data Documentation

int32 STREAM::RoomLeftPlayerResponse::hostId

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

const uint16 STREAM::RoomLeftPlayerResponse::payloadType = ROOM_FUNCID_ROOM_LEFTPLAYERRESULT
static

payload_typeのID定数値.

int32 STREAM::RoomLeftPlayerResponse::playerId

ログアウトしたプレイヤーID.


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