gpg::RealTimeRoomConfig

#include <real_time_room_config.h>

RealTimeRoom 객체를 만드는 데 필요한 데이터가 포함된 데이터 구조입니다.

요약

생성자 및 소멸자

RealTimeRoomConfig(std::shared_ptr< const RealTimeRoomConfigImpl > impl)
shared_ptr 객체에서 RealTimeRoomConfigImpl 객체로 RealTimeRoomConfig를 구성합니다.
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 객체를 할당합니다.
operator=(RealTimeRoomConfig && move_from)
다른 객체를 이동하여 이 RealTimeRoomConfig 객체를 할당합니다.

클래스

gpg::RealTimeRoomConfig::Builder

하나 이상의 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 객체의 getter 함수 (PlayerIdsToInvite, MinimumAutoroomingPlayers 등)를 사용하려면 true를 반환해야 합니다.

변형

uint32_t Variant() const 

방 유형이나 모드를 나타내는 데 사용되는 개발자별 값입니다.

같은 값을 사용하는 플레이어만 회의실을 예약할 수 있습니다. Valid가 true를 반환하는 경우에만 호출할 수 있습니다.

operator=

RealTimeRoomConfig & operator=(
  const RealTimeRoomConfig & copy_from
)

다른 객체에서 복사하여 이 RealTimeRoomConfig 객체를 할당합니다.

operator=

RealTimeRoomConfig & operator=(
  RealTimeRoomConfig && move_from
)

다른 객체를 이동하여 이 RealTimeRoomConfig 객체를 할당합니다.