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

MUNクライアントからmun_roomサーバに対して送信される、汎用的なRPC送信要求. More...

#include <MunStream.hpp>

Collaboration diagram for STREAM::RoomRPCRequest:

Public Member Functions

 RoomRPCRequest ()
 コンストラクタ.
 
virtual ~RoomRPCRequest ()
 デストラクタ.
 
 RoomRPCRequest (uint64 _roomId, uint8 _targets, int32 _senderId, int32 *_targetIds, uint32 _targetIdsLen, Binary &_data)
 コンストラクタ. More...
 
RoomRPCRequestoperator= (const RoomRPCRequest &rRef)
 代入処理. More...
 
uint32 Size ()
 データサイズの取得. More...
 
bool Pack (MunBuffer &buffer)
 MunBufferへのパッキング. More...
 
bool Unpack (MunBuffer &buffer)
 MunBufferからのアンパッキング. More...
 

Public Attributes

uint64 roomId
 ルームID. More...
 
uint8 targets
 送信モード(列挙型TARGETS_TYPEの定数). More...
 
int32 senderId
 送信者のプレイヤーID. More...
 
int32 targetIds [PLAYER_MAX]
 送信相手となるプレイヤーID群. More...
 
uint32 targetIdsLen
 送信相手となるプレイヤーIDの数. More...
 
Binary data
 送信データ本体. More...
 

Static Public Attributes

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

Detailed Description

MUNクライアントからmun_roomサーバに対して送信される、汎用的なRPC送信要求.

Constructor & Destructor Documentation

STREAM::RoomRPCRequest::RoomRPCRequest ( uint64  _roomId,
uint8  _targets,
int32  _senderId,
int32 *  _targetIds,
uint32  _targetIdsLen,
Binary _data 
)

コンストラクタ.

Parameters
_roomIdルームID.
_targets送信モード(列挙型TARGETS_TYPEの定数).
_senderId送信者のプレイヤーID.
_targetIds送信相手となるプレイヤーIDの先頭アドレス.
_targetIdsLen_targetIds の登録数.
_data送信データ本体.

Member Function Documentation

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

代入処理.

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

MunBufferへのパッキング.

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

Here is the call graph for this function:

uint32 STREAM::RoomRPCRequest::Size ( )

データサイズの取得.

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

Here is the call graph for this function:

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

Binary STREAM::RoomRPCRequest::data

送信データ本体.

const uint16 STREAM::RoomRPCRequest::payloadType = ROOM_FUNCID_ROOM_RPC
static

payload_typeのID定数値.

uint64 STREAM::RoomRPCRequest::roomId

ルームID.

int32 STREAM::RoomRPCRequest::senderId

送信者のプレイヤーID.

int32 STREAM::RoomRPCRequest::targetIds[PLAYER_MAX]

送信相手となるプレイヤーID群.

uint32 STREAM::RoomRPCRequest::targetIdsLen

送信相手となるプレイヤーIDの数.

uint8 STREAM::RoomRPCRequest::targets

送信モード(列挙型TARGETS_TYPEの定数).


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