CTR-Pia
5.4.3
Game Communication Engine
メインページ
ネームスペース一覧
クラス構成
クラス索引
関連ページ
Result 検索
全て
クラス
ネームスペース
関数
変数
型定義
列挙型
列挙型の値
ページ
session_SessionStationInfo.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/session/session_Definitions.h>
17
18
namespace
nn
19
{
20
namespace
pia
21
{
22
namespace
session
23
{
24
25
/*!
26
@brief セッションに参加中のステーション情報です。
27
@see nn::pia::lan::LanStationInfo
28
@if CTR_DOC
29
@see nn::pia::local::UdsStationInfo
30
@endif
31
@if NIN_DOC
32
@see nn::pia::local::LdnStationInfo
33
@endif
34
*/
35
class
SessionStationInfo
:
public
common::RootObject
36
{
37
public
:
38
/*!
39
@brief ステーションの役割(接続していない/ホスト/クライアント)を表します。
40
*/
41
enum
StationInfoRole
42
{
43
StationInfoRole_None
= 0,
//!< 接続していない
44
StationInfoRole_Host
,
//!< ホスト
45
StationInfoRole_Client
//!< クライアント
46
};
47
48
/*!
49
@brief ステーションの役割を取得します。
50
@return ステーションの役割を返します。
51
*/
52
StationInfoRole
GetRole
()
const
;
53
54
/*!
55
@cond PRIVATE
56
*/
57
void
SetRole(
StationInfoRole
role);
58
virtual
void
Clear();
59
static
uint32_t GetSerializedSize();
60
//! @endcond
61
62
protected
:
63
SessionStationInfo
();
64
virtual
~
SessionStationInfo
();
65
66
StationInfoRole
m_Role;
67
};
68
}
69
}
70
}
// end of namespace session
Include
nn
pia
session
session_SessionStationInfo.h
© 2016 Nintendo Co., Ltd. All rights reserved. 記載されている会社名、製品名等は、各社の登録商標または商標です。