ルーム情報.
More...
#include <MunStream.hpp>
STREAM::RoomInfo::RoomInfo |
( |
Text & |
_name, |
|
|
uint32 |
_maxPlayers, |
|
|
uint8 |
_isVisible, |
|
|
uint8 |
_isOpen, |
|
|
int32 |
_hostId, |
|
|
uint32 |
_playersLen, |
|
|
KeyValue * |
_roomParameters, |
|
|
uint16 |
_roomParametersLen, |
|
|
Text * |
_lobbyParameters, |
|
|
uint16 |
_lobbyParametersLen |
|
) |
| |
コンストラクタ.
- Parameters
-
_name | ルーム名. |
_maxPlayers | ルーム内プレイヤー人数の上限. |
_isVisible | ルーム情報をロビーに通知するかどうかのフラグ. |
_isOpen | 他プレイヤーのルーム入室を許可するかどうかのフラグ. |
_hostId | ホストID. |
_playersLen | プレイヤーの登録数. |
_roomParameters | ルームパラメータの先頭アドレス. |
_roomParametersLen | _roomParametersの登録数. |
_lobbyParameters | ロビー通知パラメータの先頭アドレス. |
_lobbyParametersLen | _lobbyParametersの登録数. |
bool STREAM::RoomInfo::Pack |
( |
MunBuffer & |
buffer | ) |
|
MunBufferへのパッキング.
- Parameters
-
buffer | MunBufferクラスオブジェクト. |
uint32 STREAM::RoomInfo::Size |
( |
| ) |
|
データサイズの取得.
- Returns
- uint32 データサイズを返す.
bool STREAM::RoomInfo::Unpack |
( |
MunBuffer & |
buffer | ) |
|
MunBufferからのアンパッキング.
- Parameters
-
buffer | MunBufferクラスオブジェクト. |
int32 STREAM::RoomInfo::hostId |
uint8 STREAM::RoomInfo::isOpen |
他プレイヤーのルーム入室を許可するかどうかのフラグ.
uint8 STREAM::RoomInfo::isVisible |
uint16 STREAM::RoomInfo::lobbyParametersLen |
uint32 STREAM::RoomInfo::maxPlayers |
Text STREAM::RoomInfo::name |
uint32 STREAM::RoomInfo::playersLen |
uint16 STREAM::RoomInfo::roomParametersLen |
The documentation for this class was generated from the following file: