games  v1
Public Member Functions | Static Public Member Functions | List of all members
google_games_api::RoomAutoMatchingCriteria Class Reference

#include <room_auto_matching_criteria.h>

Inheritance diagram for google_games_api::RoomAutoMatchingCriteria:

Public Member Functions

 RoomAutoMatchingCriteria (const Json::Value &storage)
 
 RoomAutoMatchingCriteria (Json::Value *storage)
 
virtual ~RoomAutoMatchingCriteria ()
 
const StringPiece GetTypeName () const
 
bool has_exclusive_bitmask () const
 
void clear_exclusive_bitmask ()
 
int64 get_exclusive_bitmask () const
 
void set_exclusive_bitmask (int64 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_max_auto_matching_players () const
 
void clear_max_auto_matching_players ()
 
int32 get_max_auto_matching_players () const
 
void set_max_auto_matching_players (int32 value)
 
bool has_min_auto_matching_players () const
 
void clear_min_auto_matching_players ()
 
int32 get_min_auto_matching_players () const
 
void set_min_auto_matching_players (int32 value)
 

Static Public Member Functions

static RoomAutoMatchingCriteriaNew ()
 

Detailed Description

This is a JSON template for a room auto-match criteria object.

Constructor & Destructor Documentation

◆ RoomAutoMatchingCriteria() [1/2]

google_games_api::RoomAutoMatchingCriteria::RoomAutoMatchingCriteria ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ RoomAutoMatchingCriteria() [2/2]

google_games_api::RoomAutoMatchingCriteria::RoomAutoMatchingCriteria ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~RoomAutoMatchingCriteria()

google_games_api::RoomAutoMatchingCriteria::~RoomAutoMatchingCriteria ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_exclusive_bitmask()

void google_games_api::RoomAutoMatchingCriteria::clear_exclusive_bitmask ( )
inline

Clears the 'exclusiveBitmask' attribute.

◆ clear_kind()

void google_games_api::RoomAutoMatchingCriteria::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_max_auto_matching_players()

void google_games_api::RoomAutoMatchingCriteria::clear_max_auto_matching_players ( )
inline

Clears the 'maxAutoMatchingPlayers' attribute.

◆ clear_min_auto_matching_players()

void google_games_api::RoomAutoMatchingCriteria::clear_min_auto_matching_players ( )
inline

Clears the 'minAutoMatchingPlayers' attribute.

◆ get_exclusive_bitmask()

int64 google_games_api::RoomAutoMatchingCriteria::get_exclusive_bitmask ( ) const
inline

Get the value of the 'exclusiveBitmask' attribute.

◆ get_kind()

const StringPiece google_games_api::RoomAutoMatchingCriteria::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_max_auto_matching_players()

int32 google_games_api::RoomAutoMatchingCriteria::get_max_auto_matching_players ( ) const
inline

Get the value of the 'maxAutoMatchingPlayers' attribute.

◆ get_min_auto_matching_players()

int32 google_games_api::RoomAutoMatchingCriteria::get_min_auto_matching_players ( ) const
inline

Get the value of the 'minAutoMatchingPlayers' attribute.

◆ GetTypeName()

const StringPiece google_games_api::RoomAutoMatchingCriteria::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_games_api::RoomAutoMatchingCriteria

◆ has_exclusive_bitmask()

bool google_games_api::RoomAutoMatchingCriteria::has_exclusive_bitmask ( ) const
inline

Determine if the 'exclusiveBitmask' attribute was set.

Returns
true if the 'exclusiveBitmask' attribute was set.

◆ has_kind()

bool google_games_api::RoomAutoMatchingCriteria::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_max_auto_matching_players()

bool google_games_api::RoomAutoMatchingCriteria::has_max_auto_matching_players ( ) const
inline

Determine if the 'maxAutoMatchingPlayers' attribute was set.

Returns
true if the 'maxAutoMatchingPlayers' attribute was set.

◆ has_min_auto_matching_players()

bool google_games_api::RoomAutoMatchingCriteria::has_min_auto_matching_players ( ) const
inline

Determine if the 'minAutoMatchingPlayers' attribute was set.

Returns
true if the 'minAutoMatchingPlayers' attribute was set.

◆ New()

RoomAutoMatchingCriteria * google_games_api::RoomAutoMatchingCriteria::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_exclusive_bitmask()

void google_games_api::RoomAutoMatchingCriteria::set_exclusive_bitmask ( int64  value)
inline

Change the 'exclusiveBitmask' attribute.

A bitmask indicating when auto-matches are valid. When ANDed with other exclusive bitmasks, the result must be zero. Can be used to support exclusive roles within a game.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_games_api::RoomAutoMatchingCriteria::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Uniquely identifies the type of this resource. Value is always the fixed string games::roomAutoMatchingCriteria.

Parameters
[in]valueThe new value.

◆ set_max_auto_matching_players()

void google_games_api::RoomAutoMatchingCriteria::set_max_auto_matching_players ( int32  value)
inline

Change the 'maxAutoMatchingPlayers' attribute.

The maximum number of players that should be added to the room by auto- matching.

Parameters
[in]valueThe new value.

◆ set_min_auto_matching_players()

void google_games_api::RoomAutoMatchingCriteria::set_min_auto_matching_players ( int32  value)
inline

Change the 'minAutoMatchingPlayers' attribute.

The minimum number of players that should be added to the room by auto- matching.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: