CTR-Pia  5.4.3
Game Communication Engine
 全て クラス ネームスペース 関数 変数 型定義 列挙型 列挙型の値 ページ
clone_Definitions.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 
17 #include <nn/pia/pia_Definitions.h>
18 
19 #define NN_PIA_ENABLE_CLONE_BROADCAST_RESEND 1
20 
21 namespace nn
22 {
23 namespace pia
24 {
25 namespace clone
26 {
27 
28 //! @cond PRIVATE
29 typedef uint16_t SystemTime;
30 //! @endcond
31 
32 
33 //! @cond PRIVATE
34 static const SystemTime InvalidSystemTime = 0xffff;
35 //! @endcond
36 
37 //! @cond PRIVATE
38 static const uint8_t RegisterCountBit = 2;
39 static const uint8_t InvalidRegisterCount = (0x1 << RegisterCountBit) - 1;
40 //! @endcond
41 
42 //! @cond PRIVATE
43 static const uint32_t MessageHeaderSerializeDiffSizeMax = 26;
44 //! @endcond
45 
46 /*!
47 @brief 時刻の値を保持する型です。
48  */
49 typedef uint32_t ClockValue;
50 
51 
52 /*!
53 @brief 時刻の無効値です。
54  */
55 static const ClockValue InvalidClock = 0xffffffff;
56 }
57 }
58 } // end of namespace nn::pia::clone
59 
60 //このモジュールの全クラスのヘッダでインクルードするもの