gpg:: RealTimeRoomConfig
  #include <real_time_room_config.h>
  RealTimeRoom オブジェクトの作成に必要なデータを含むデータ構造。
概要
        コンストラクタとデストラクタ | 
    |
|---|---|
        RealTimeRoomConfig(std::shared_ptr< const RealTimeRoomConfigImpl > impl)
         | 
    |
        RealTimeRoomConfig()
         | 
    |
        RealTimeRoomConfig(const RealTimeRoomConfig & copy_from)
        既存の  
      RealTimeRoomConfig オブジェクトのコピーを作成します。 | 
    |
        RealTimeRoomConfig(RealTimeRoomConfig && move_from)
        既存の  
      RealTimeRoomConfig オブジェクトを移動します。 | 
    
        パブリック関数 | 
    |
|---|---|
        ExclusiveBitMask() const 
       | 
      
        int64_t
        プレーヤーのゲーム固有の排他的ロール(「攻撃者」や「防御者」など)を示すビットマスク。 
       | 
    
        MaximumAutomatchingPlayers() const 
       | 
      
        uint32_t
        部屋に追加できる自動マッチング プレーヤーの最大数。 
       | 
    
        MinimumAutomatchingPlayers() const 
       | 
      
        uint32_t
        部屋に追加する自動マッチング プレーヤーの最小数。 
       | 
    
        PlayerIdsToInvite() const 
       | 
      
        const std::vector< std::string > &
        新しく作成されたルームに招待するプレーヤー ID。 
       | 
    
        Valid() const 
       | 
      
        bool
        この  
      RealTimeRoomConfig オブジェクトにデータが入力されている場合、true を返します。 | 
    
        Variant() const 
       | 
      
        uint32_t
        部屋のタイプやモードを示すために使用されるデベロッパー固有の値。 
       | 
    
        operator=(const RealTimeRoomConfig & copy_from)
       | 
      
        
         別の  
      RealTimeRoomConfig オブジェクトからコピーして、この RealTimeRoomConfig オブジェクトを割り当てます。 | 
    
        operator=(RealTimeRoomConfig && move_from)
       | 
      |
        クラス | 
    |
|---|---|
| 
        gpg:: | 
      
         1 つ以上の RealTimeRoomConfig オブジェクトをビルドします。  | 
    
パブリック関数
ExclusiveBitMask
int64_t ExclusiveBitMask() const
プレーヤーのゲーム固有の排他的ロール(「攻撃者」や「防御者」など)を示すビットマスク。
自動マッチングを行うには、ペア設定されたプレーヤーの論理積(AND)が 0 にする必要があります。Valid が true を返した場合にのみ呼び出せます。
MaximumAutomatchingPlayers
uint32_t MaximumAutomatchingPlayers() const
部屋に追加できる自動マッチング プレーヤーの最大数。
Valid が true を返した場合にのみ呼び出せます。
MinimumAutomatchingPlayers
uint32_t MinimumAutomatchingPlayers() const
部屋に追加する自動マッチング プレーヤーの最小数。
Valid が true を返した場合にのみ呼び出せます。
PlayerIdsToInvite
const std::vector< std::string > & PlayerIdsToInvite() const
新しく作成されたルームに招待するプレーヤー ID。
Valid が true を返した場合にのみ呼び出せます。
RealTimeRoomConfig
RealTimeRoomConfig( std::shared_ptr< const RealTimeRoomConfigImpl > impl )
オブジェクト shared_ptr から RealTimeRoomConfigImpl オブジェクトに RealTimeRoomConfig を構築します。
API による内部使用を想定しています。
RealTimeRoomConfig
RealTimeRoomConfig()
RealTimeRoomConfig
RealTimeRoomConfig( const RealTimeRoomConfig & copy_from )
既存の RealTimeRoomConfig オブジェクトのコピーを作成します。
RealTimeRoomConfig
RealTimeRoomConfig( RealTimeRoomConfig && move_from )
既存の RealTimeRoomConfig オブジェクトを移動します。
有効
bool Valid() const
この RealTimeRoomConfig オブジェクトにデータが入力されている場合、true を返します。
RealTimeRoomConfig オブジェクトのゲッター関数(PlayerIdsToInvite、MinimumAutoroomingPlayers など)を使用できるようにするには、true を返す必要があります。
バリアント
uint32_t Variant() const
部屋のタイプやモードを示すために使用されるデベロッパー固有の値。
同じ値を使用しているプレーヤーのみがルームに参加できます。Valid が true を返した場合にのみ呼び出せます。
operator=
RealTimeRoomConfig & operator=( const RealTimeRoomConfig & copy_from )
別の RealTimeRoomConfig オブジェクトからコピーして、この RealTimeRoomConfig オブジェクトを割り当てます。
operator=
RealTimeRoomConfig & operator=( RealTimeRoomConfig && move_from )
別の RealTimeRoomConfig オブジェクトをこの RealTimeRoomConfig オブジェクトに移動して、この RealTimeRoomConfig オブジェクトを割り当てます。