CTR-Pia
5.4.3
Game Communication Engine
メインページ
ネームスペース一覧
クラス構成
クラス索引
関連ページ
Result 検索
全て
クラス
ネームスペース
関数
変数
型定義
列挙型
列挙型の値
ページ
lan_LanStationInfo.h
1
/*--------------------------------------------------------------------------------*
2
Copyright (C)Nintendo All rights reserved.
3
4
These coded instructions, statements, and computer programs contain proprietary
5
information of Nintendo and/or its licensed developers and are protected by
6
national and international copyright laws. They may not be disclosed to third
7
parties or copied or duplicated in any form, in whole or in part, without the
8
prior written consent of Nintendo.
9
10
The content herein is highly confidential and should be handled accordingly.
11
*--------------------------------------------------------------------------------*/
12
13
14
#pragma once
15
16
#include <nn/pia/lan/lan_Definitions.h>
17
#include <nn/pia/session/session_SessionStationInfo.h>
18
#include <nn/pia/transport/transport_Station.h>
19
20
namespace
nn
21
{
22
namespace
pia
23
{
24
namespace
lan
25
{
26
27
/*!
28
@brief セッションに参加中のステーション情報です。
29
30
@see session::SessionStationInfo
31
*/
32
class
LanStationInfo
:
public
session::SessionStationInfo
33
{
34
public
:
35
LanStationInfo
();
36
virtual
~
LanStationInfo
();
37
38
/*!
39
@brief ステーションのユーザー名を取得します。
40
@return ステーションのユーザー名を返します。
41
*/
42
const
transport::Station::UserNameString
&
GetUserName
()
const
;
43
44
/*!
45
@brief StationId を取得します。
46
@return 対応づけられている StationId が返されます。
47
*/
48
StationId
GetStationId
()
const
;
49
50
/*!
51
@cond PRIVATE
52
*/
53
void
SetUserName(
const
transport::Station::UserNameString
& name);
54
void
SetStationId(
const
StationId
stationId);
55
virtual
void
Clear();
56
static
uint32_t GetSerializedSize();
57
//! @endcond
58
59
protected
:
60
transport::Station::UserNameString
m_UserName;
61
StationId
m_StationId;
//!< 対応する StationId です。
62
};
63
}
64
}
65
}
// end of namespace lan
Include
nn
pia
lan
lan_LanStationInfo.h
© 2016 Nintendo Co., Ltd. All rights reserved. 記載されている会社名、製品名等は、各社の登録商標または商標です。