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

mun_roomサーバからmun_masterサーバに対して送信される、mun_roomサーバの負荷情報. More...

#include <MunStream.hpp>

Public Member Functions

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

Public Attributes

uint64 roomUid
 ルームサーバ自身のユニークID. More...
 
int32 weight
 サーバ負荷情報. More...
 

Static Public Attributes

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

Detailed Description

mun_roomサーバからmun_masterサーバに対して送信される、mun_roomサーバの負荷情報.

Constructor & Destructor Documentation

STREAM::RoomMasterSetWeightRequest::RoomMasterSetWeightRequest ( uint64  _roomUid,
int32  _weight 
)

コンストラクタ.

Parameters
_roomUidルームサーバ自身のユニークID.
_weightサーバ負荷情報.

Member Function Documentation

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

代入処理.

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

MunBufferへのパッキング.

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

Here is the caller graph for this function:

uint32 STREAM::RoomMasterSetWeightRequest::Size ( )

データサイズの取得.

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

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

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

Here is the caller graph for this function:

Member Data Documentation

const uint16 STREAM::RoomMasterSetWeightRequest::payloadType = ROOMMASTER_FUNCID_ROOMMASTER_SETWEIGHT
static

payload_typeのID定数値.

uint64 STREAM::RoomMasterSetWeightRequest::roomUid

ルームサーバ自身のユニークID.

int32 STREAM::RoomMasterSetWeightRequest::weight

サーバ負荷情報.


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