CTR-Pia
5.4.3
Game Communication Engine
メインページ
ネームスペース一覧
クラス構成
クラス索引
関連ページ
Result 検索
全て
クラス
ネームスペース
関数
変数
型定義
列挙型
列挙型の値
ページ
lan_LanSessionStartupSetting.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
18
#include <nn/pia/session/session_Session.h>
19
20
namespace
nn
21
{
22
namespace
pia
23
{
24
namespace
lan
25
{
26
/*!
27
@brief @ref nn::pia::session::Session::Startup に渡す設定用構造体です。
28
*/
29
struct
LanSessionStartupSetting
:
public
session::Session::StartupSetting
30
{
31
LanSessionStartupSetting
()
32
:
session::Session::StartupSetting
(),
33
isPlayersCountedAsParticipants
(
true
),
34
cryptoMode
(
common::CryptoSetting::Mode_Aes128
)
35
{
36
maxSilenceTime
=
lan::MaxSilenceTime
;
37
keepAliveSendingInterval
=
lan::KeepAliveSendingInterval
;
38
}
39
40
transport::Station::PlayerInfo
playerInfo
[
MaxPlayerInfoSize
];
//!< 自分自身のステーションと関連付けるプレイヤー情報を設定します。他のセッション参加者から参照されます。
41
bool
isPlayersCountedAsParticipants
;
//!< 自分自身のステーションに複数のプレイヤーを関連付ける際、プレイヤー数をセッション参加者数としてカウントするか指定します。デフォルトは true です。
42
common::CryptoSetting::Mode
cryptoMode
;
//!< 暗号化設定モードを指定します。デフォルトは common::CryptoSetting::Mode_Aes128 です。
43
};
44
}
45
}
46
}
// end of namespace nn::pia::lan
Include
nn
pia
lan
lan_LanSessionStartupSetting.h
© 2016 Nintendo Co., Ltd. All rights reserved. 記載されている会社名、製品名等は、各社の登録商標または商標です。