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

サーバ統計情報. More...

#include <MunStream.hpp>

Public Member Functions

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

Public Attributes

int32 clientCountInServer
 サーバに接続しているプレイヤーの人数. More...
 
int32 clientCountInLobby
 ロビーに入室しているプレイヤーの人数. More...
 
int32 clientCountInRoom
 ロビーに所属しているルームの数. More...
 
int32 roomCountInLobby
 ルームに入室しているプレイヤーの人数. More...
 

Detailed Description

サーバ統計情報.

Constructor & Destructor Documentation

STREAM::StatsInfo::StatsInfo ( int32  _clientCountInServer,
int32  _clientCountInLobby,
int32  _clientCountInRoom,
int32  _roomCountInLobby 
)

コンストラクタ.

Parameters
_clientCountInServerサーバに接続しているプレイヤーの人数.
_clientCountInLobbyロビーに入室しているプレイヤーの人数.
_clientCountInRoomルームに入室しているプレイヤーの人数.
_roomCountInLobbyロビーに所属しているルームの数.

Member Function Documentation

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

代入処理.

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

MunBufferへのパッキング.

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

Here is the caller graph for this function:

uint32 STREAM::StatsInfo::Size ( )

データサイズの取得.

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

Here is the caller graph for this function:

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

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

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

Here is the caller graph for this function:

Member Data Documentation

int32 STREAM::StatsInfo::clientCountInLobby

ロビーに入室しているプレイヤーの人数.

int32 STREAM::StatsInfo::clientCountInRoom

ロビーに所属しているルームの数.

int32 STREAM::StatsInfo::clientCountInServer

サーバに接続しているプレイヤーの人数.

int32 STREAM::StatsInfo::roomCountInLobby

ルームに入室しているプレイヤーの人数.


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