Monobit Unity Networking ver.2.8.0 Server API Reference (C++)
|
mun_proxyサーバからmun_resolverサーバに対して送信される、mun_proxyサーバの負荷情報. More...
#include <MunStream.hpp>
Public Member Functions | |
ProxyResolverSetWeightRequest () | |
コンストラクタ. | |
ProxyResolverSetWeightRequest (uint64 _proxyUid, int32 _weight) | |
コンストラクタ. More... | |
ProxyResolverSetWeightRequest & | operator= (const ProxyResolverSetWeightRequest &rRef) |
代入処理. More... | |
uint32 | Size () |
データサイズの取得. More... | |
bool | Pack (MunBuffer &buffer) |
MunBufferへのパッキング. More... | |
bool | Unpack (MunBuffer &buffer) |
MunBufferからのアンパッキング. More... | |
Public Attributes | |
uint64 | proxyUid |
プロキシサーバ自身のユニークID. More... | |
int32 | weight |
サーバ負荷情報. More... | |
Static Public Attributes | |
static const uint16 | payloadType = PROXYRESOLVER_FUNCID_PROXYRESOLVER_SETWEIGHT |
payload_typeのID定数値. More... | |
mun_proxyサーバからmun_resolverサーバに対して送信される、mun_proxyサーバの負荷情報.
STREAM::ProxyResolverSetWeightRequest::ProxyResolverSetWeightRequest | ( | uint64 | _proxyUid, |
int32 | _weight | ||
) |
コンストラクタ.
_proxyUid | プロキシサーバ自身のユニークID. |
_weight | サーバ負荷情報. |
ProxyResolverSetWeightRequest& STREAM::ProxyResolverSetWeightRequest::operator= | ( | const ProxyResolverSetWeightRequest & | rRef | ) |
代入処理.
rRef | 代入値. |
bool STREAM::ProxyResolverSetWeightRequest::Pack | ( | MunBuffer & | buffer | ) |
MunBufferへのパッキング.
buffer | MunBufferクラスオブジェクト. |
uint32 STREAM::ProxyResolverSetWeightRequest::Size | ( | ) |
データサイズの取得.
bool STREAM::ProxyResolverSetWeightRequest::Unpack | ( | MunBuffer & | buffer | ) |
MunBufferからのアンパッキング.
buffer | MunBufferクラスオブジェクト. |
|
static |
payload_typeのID定数値.
uint64 STREAM::ProxyResolverSetWeightRequest::proxyUid |
プロキシサーバ自身のユニークID.
int32 STREAM::ProxyResolverSetWeightRequest::weight |
サーバ負荷情報.