CTR-Pia  5.4.3
Game Communication Engine
 全て クラス ネームスペース 関数 変数 型定義 列挙型 列挙型の値 ページ
lan_LanSessionTypes.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 namespace nn
19 {
20 namespace pia
21 {
22 namespace lan
23 {
24 
25 const uint32_t LanSessionInfoListSizeMax = 10; //!< 検索可能なセッション数の最大長
26 const uint32_t LanCommunityInfoListSizeMax = 0; //!< 検索可能なコミュニティ数の最大長
27 
28 const uint32_t LanAttributeSizeMax = 6; //!< セッションに指定可能な属性の数
29 const uint32_t LanAttributeArraySizeMax = 20; //!< 検索条件に指定できる属性値の配列の最大長
30 
31 const uint32_t LanApplicationDataBufferSizeMax = 384; //!< セッションのアプリケーションデータの最大長
32 const uint8_t LanSessionSearchCriteriaListSizeMax = 2; //!< ランダムマッチメイク時に指定する検索条件の最大数
33 
34 const uint16_t LanInvalidParticipantsNum = 0xffff;
35 /*!
36  @brief LAN マッチメイクのセッションタイプを表す列挙型です。
37 */
39 {
40  LanSessionType_Anybody = 0 //!< 誰でも参加可能
41 };
42 
43 const uint16_t BroadcastStreamPort = 40000;
44 const uint8_t LanSystemVersion = 0;
45 }
46 }
47 } // end of namespace nn::pia::lan