ルーム内プレイヤー情報クラス.
More...
#include <MunRoomPlayerInfo.hpp>
|
| MrsConnection | GetConnection () |
| | MUNクライアントの接続情報の取得. More...
|
| |
| int32 | GetId () |
| | プレイヤーIDの取得. More...
|
| |
| std::string | GetName () |
| | プレイヤーIDの取得. More...
|
| |
| void | SetName (std::string name) |
| | プレイヤーIDの設定. More...
|
| |
| STREAM::KeyValue * | GetParameters () |
| | プレイヤーパラメータの取得. More...
|
| |
| uint16 | GetParametersLen () |
| | プレイヤーパラメータの登録数の取得. More...
|
| |
| void | SetParameters (STREAM::KeyValue *pParameters, uint16 parametersLen) |
| | プレイヤーパラメータの設定. More...
|
| |
| void | UpdateParameters (STREAM::KeyValue *pParameters, uint16 parametersLen) |
| | プレイヤーパラメータの更新. More...
|
| |
| uint32 | GetClientIdForMasterServer () |
| | mun_masterサーバ上のクライアント識別用ユニークIDの取得. More...
|
| |
| uint64 | GetClientIdForProxyServer () |
| | mun_proxyサーバ上のクライアント識別用ユニークIDの取得. More...
|
| |
| uint64 | GetRoomId () |
| | 所属するルームIDの取得. More...
|
| |
| | MunRoomPlayerInfo (MrsConnection connection=NULL, int32 id=0, std::string name="", uint32 clientUidForMasterServer=0, uint64 clientUidForProxyServer=0, uint64 roomId=0, STREAM::KeyValue *pParameters=NULL, uint16 parametersLen=0) |
| | コンストラクタ. More...
|
| |
|
virtual | ~MunRoomPlayerInfo () |
| | デストラクタ.
|
| |
|
void | FlushGroupWriteRecord () |
| |
|
void | GroupWriteRecord (uint16 options, uint16 payload_type, const void *payload, uint32 payload_len, bool is_group) |
| |
|
void | Update () |
| |
| MunRoomPlayerInfo::MunRoomPlayerInfo |
( |
MrsConnection |
connection = NULL, |
|
|
int32 |
id = 0, |
|
|
std::string |
name = "", |
|
|
uint32 |
clientUidForMasterServer = 0, |
|
|
uint64 |
clientUidForProxyServer = 0, |
|
|
uint64 |
roomId = 0, |
|
|
STREAM::KeyValue * |
pParameters = NULL, |
|
|
uint16 |
parametersLen = 0 |
|
) |
| |
コンストラクタ.
- Parameters
-
| connection | MUNクライアントの接続情報. |
| id | プレイヤーID。指定がなければ 0 が代入される. |
| clientUidForMasterServer | mun_masterサーバ上のクライアント識別用ユニークID。指定がなければ 0 が代入される. |
| clientUidForProxyServer | mun_proxyサーバ上のクライアント識別用ユニークID。指定がなければ 0 が代入される. |
| roomId | 所属するルームID。指定がなければ 0 が代入される. pParameters プレイヤーパラメータ。指定がなければ NULL が代入される. parametersLen プレイヤーパラメータの登録数。指定がなければ 0 が代入される. |
| uint32 MunRoomPlayerInfo::GetClientIdForMasterServer |
( |
| ) |
|
mun_masterサーバ上のクライアント識別用ユニークIDの取得.
- Returns
- mun_masterサーバ上のクライアント識別用ユニークIDを返す。
| uint64 MunRoomPlayerInfo::GetClientIdForProxyServer |
( |
| ) |
|
mun_proxyサーバ上のクライアント識別用ユニークIDの取得.
- Returns
- mun_proxyサーバ上のクライアント識別用ユニークIDを返す。
| MrsConnection MunRoomPlayerInfo::GetConnection |
( |
| ) |
|
MUNクライアントの接続情報の取得.
- Returns
- MUNクライアントの接続情報を返す。
| int32 MunRoomPlayerInfo::GetId |
( |
| ) |
|
プレイヤーIDの取得.
- Returns
- プレイヤーIDを返す。
| std::string MunRoomPlayerInfo::GetName |
( |
| ) |
|
プレイヤーIDの取得.
- Returns
- プレイヤーIDを返す。
プレイヤーパラメータの取得.
- Returns
- プレイヤーパラメータを返す。
| uint16 MunRoomPlayerInfo::GetParametersLen |
( |
| ) |
|
プレイヤーパラメータの登録数の取得.
- Returns
- プレイヤーパラメータの登録数を返す。
| uint64 MunRoomPlayerInfo::GetRoomId |
( |
| ) |
|
所属するルームIDの取得.
- Returns
- 所属するルームIDを返す。
| void MunRoomPlayerInfo::SetName |
( |
std::string |
name | ) |
|
| void MunRoomPlayerInfo::SetParameters |
( |
STREAM::KeyValue * |
pParameters, |
|
|
uint16 |
parametersLen |
|
) |
| |
プレイヤーパラメータの設定.
pParameters プレイヤーパラメータ. parametersLen プレイヤーパラメータの登録数.
| void MunRoomPlayerInfo::UpdateParameters |
( |
STREAM::KeyValue * |
pParameters, |
|
|
uint16 |
parametersLen |
|
) |
| |
プレイヤーパラメータの更新.
pParameters プレイヤーパラメータ. parametersLen プレイヤーパラメータの登録数.
| uint32 MunRoomPlayerInfo::m_clientUidForMasterServer |
|
protected |
mun_masterサーバ上のクライアント識別用ユニークID.
| uint64 MunRoomPlayerInfo::m_clientUidForProxyServer |
|
protected |
mun_proxyサーバ上のクライアント識別用ユニークID.
| MrsConnection MunRoomPlayerInfo::m_Connection |
|
protected |
| int32 MunRoomPlayerInfo::m_Id |
|
protected |
| std::string MunRoomPlayerInfo::m_Name |
|
protected |
| uint16 MunRoomPlayerInfo::m_ParametersLen |
|
protected |
| uint64 MunRoomPlayerInfo::m_RoomId |
|
protected |
The documentation for this class was generated from the following file: