CTR-Pia  5.4.3
Game Communication Engine
 全て クラス ネームスペース 関数 変数 型定義 列挙型 列挙型の値 ページ
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  */
32 {
34  : playerInfo(),
37  {
40  memset(signatureKeyData, 0, sizeof(signatureKeyData));
41  }
42 
43  transport::Station::PlayerInfo playerInfo; //!< 自分自身のステーションと関連付けるプレイヤー情報を設定します。他のセッション参加者から参照されます。@if NIN_DOC 設定された値が「いっしょにあそんだ人の記録」に使用されます。 @endif
45  uint32_t signatureKeyDataSize; //!< 署名鍵のサイズです。署名を無効にする場合は 0 を指定する必要があります。@ref common::SignatureSetting::SignatureKeyDataSizeMax 以下である必要があります。
46  bool isAddRecentPlayRecordEnabled; //!< セッション参加者を「いっしょにあそんだ人の記録」に追加するかどうかを指定します。デフォルトは true(有効)になっています。本体機能が「いっしょにあそんだ人の記録」に対応していない場合は無視されます。
47 };
48 }
49 }
50 } // end of namespace nn::pia::local