CTR-Pia
5.4.3
Game Communication Engine
メインページ
ネームスペース一覧
クラス構成
クラス索引
関連ページ
Result 検索
全て
クラス
ネームスペース
関数
変数
型定義
列挙型
列挙型の値
ページ
local_LocalSessionStartupSetting.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/local/local_Definitions.h>
17
18
#include <nn/pia/session/session_Session.h>
19
#include <nn/pia/common/common_SignatureSetting.h>
20
21
namespace
nn
22
{
23
namespace
pia
24
{
25
namespace
local
26
{
27
28
/*!
29
@brief @ref nn::pia::session::Session::Startup に渡す設定用構造体です。
30
*/
31
struct
LocalSessionStartupSetting
:
public
nn::pia::session::Session::StartupSetting
32
{
33
LocalSessionStartupSetting
()
34
:
playerInfo
(),
35
signatureKeyDataSize
(0),
36
isAddRecentPlayRecordEnabled
(
true
)
37
{
38
maxSilenceTime
=
local::MaxSilenceTime
;
39
keepAliveSendingInterval
=
local::KeepAliveSendingInterval
;
40
memset(
signatureKeyData
, 0,
sizeof
(
signatureKeyData
));
41
}
42
43
transport::Station::PlayerInfo
playerInfo
;
//!< 自分自身のステーションと関連付けるプレイヤー情報を設定します。他のセッション参加者から参照されます。@if NIN_DOC 設定された値が「いっしょにあそんだ人の記録」に使用されます。 @endif
44
char
signatureKeyData
[
common::SignatureSetting::SignatureKeyDataSizeMax
];
//!< 署名鍵です。
45
uint32_t
signatureKeyDataSize
;
//!< 署名鍵のサイズです。署名を無効にする場合は 0 を指定する必要があります。@ref common::SignatureSetting::SignatureKeyDataSizeMax 以下である必要があります。
46
bool
isAddRecentPlayRecordEnabled
;
//!< セッション参加者を「いっしょにあそんだ人の記録」に追加するかどうかを指定します。デフォルトは true(有効)になっています。本体機能が「いっしょにあそんだ人の記録」に対応していない場合は無視されます。
47
};
48
}
49
}
50
}
// end of namespace nn::pia::local
Include
nn
pia
local
local_LocalSessionStartupSetting.h
© 2016 Nintendo Co., Ltd. All rights reserved. 記載されている会社名、製品名等は、各社の登録商標または商標です。