CTR-Pia  5.4.3
Game Communication Engine
 全て クラス ネームスペース 関数 変数 型定義 列挙型 列挙型の値 ページ
lan_LanStationInfo.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 #include <nn/pia/session/session_SessionStationInfo.h>
18 #include <nn/pia/transport/transport_Station.h>
19 
20 namespace nn
21 {
22 namespace pia
23 {
24 namespace lan
25 {
26 
27 /*!
28  @brief セッションに参加中のステーション情報です。
29 
30  @see session::SessionStationInfo
31  */
33 {
34 public:
36  virtual ~LanStationInfo();
37 
38  /*!
39  @brief ステーションのユーザー名を取得します。
40  @return ステーションのユーザー名を返します。
41  */
43 
44  /*!
45  @brief StationId を取得します。
46  @return 対応づけられている StationId が返されます。
47  */
48  StationId GetStationId() const;
49 
50  /*!
51  @cond PRIVATE
52  */
53  void SetUserName(const transport::Station::UserNameString& name);
54  void SetStationId(const StationId stationId);
55  virtual void Clear();
56  static uint32_t GetSerializedSize();
57  //! @endcond
58 
59 protected:
61  StationId m_StationId; //!< 対応する StationId です。
62 };
63 }
64 }
65 } // end of namespace lan