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

プレイヤー情報. More...

#include <MunStream.hpp>

Collaboration diagram for STREAM::PlayerInfo:

Public Member Functions

 PlayerInfo ()
 コンストラクタ.
 
 PlayerInfo (int32 _id, Text &_name, KeyValue *_parameters, uint16 _parametersLen)
 コンストラクタ. More...
 
PlayerInfooperator= (const PlayerInfo &rRef)
 代入処理. More...
 
uint32 Size ()
 データサイズの取得. More...
 
bool Pack (MunBuffer &buffer)
 MunBufferへのパッキング. More...
 
bool Unpack (MunBuffer &buffer)
 MunBufferからのアンパッキング. More...
 

Public Attributes

int32 id
 プレイヤーID. More...
 
Text name
 プレイヤー名. More...
 
KeyValue parameters [PLAYER_PARAMETERS_MAX]
 プレイヤーパラメータ. More...
 
uint16 parametersLen
 プレイヤーパラメータの登録数. More...
 

Detailed Description

プレイヤー情報.

Constructor & Destructor Documentation

STREAM::PlayerInfo::PlayerInfo ( int32  _id,
Text _name,
KeyValue _parameters,
uint16  _parametersLen 
)

コンストラクタ.

Parameters
_idプレイヤーID.
_nameプレイヤー名.
_parametersプレイヤーパラメータの先頭アドレス.
_parametersLen_parametersの登録数.

Member Function Documentation

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

代入処理.

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

MunBufferへのパッキング.

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

Here is the call graph for this function:

Here is the caller graph for this function:

uint32 STREAM::PlayerInfo::Size ( )

データサイズの取得.

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

int32 STREAM::PlayerInfo::id

プレイヤーID.

Text STREAM::PlayerInfo::name

プレイヤー名.

KeyValue STREAM::PlayerInfo::parameters[PLAYER_PARAMETERS_MAX]

プレイヤーパラメータ.

uint16 STREAM::PlayerInfo::parametersLen

プレイヤーパラメータの登録数.


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