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

#include <turn_based_auto_matching_criteria.h>

Inheritance diagram for google_games_api::TurnBasedAutoMatchingCriteria:

Public Member Functions

 TurnBasedAutoMatchingCriteria (const Json::Value &storage)
 
 TurnBasedAutoMatchingCriteria (Json::Value *storage)
 
virtual ~TurnBasedAutoMatchingCriteria ()
 
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 TurnBasedAutoMatchingCriteriaNew ()
 

Detailed Description

This is a JSON template for an turn-based auto-match criteria object.

Constructor & Destructor Documentation

◆ TurnBasedAutoMatchingCriteria() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ TurnBasedAutoMatchingCriteria() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~TurnBasedAutoMatchingCriteria()

google_games_api::TurnBasedAutoMatchingCriteria::~TurnBasedAutoMatchingCriteria ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_exclusive_bitmask()

void google_games_api::TurnBasedAutoMatchingCriteria::clear_exclusive_bitmask ( )
inline

Clears the 'exclusiveBitmask' attribute.

◆ clear_kind()

void google_games_api::TurnBasedAutoMatchingCriteria::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_max_auto_matching_players()

void google_games_api::TurnBasedAutoMatchingCriteria::clear_max_auto_matching_players ( )
inline

Clears the 'maxAutoMatchingPlayers' attribute.

◆ clear_min_auto_matching_players()

void google_games_api::TurnBasedAutoMatchingCriteria::clear_min_auto_matching_players ( )
inline

Clears the 'minAutoMatchingPlayers' attribute.

◆ get_exclusive_bitmask()

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

Get the value of the 'exclusiveBitmask' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_max_auto_matching_players()

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

Get the value of the 'maxAutoMatchingPlayers' attribute.

◆ get_min_auto_matching_players()

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

Get the value of the 'minAutoMatchingPlayers' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::TurnBasedAutoMatchingCriteria

◆ has_exclusive_bitmask()

bool google_games_api::TurnBasedAutoMatchingCriteria::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::TurnBasedAutoMatchingCriteria::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::TurnBasedAutoMatchingCriteria::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::TurnBasedAutoMatchingCriteria::has_min_auto_matching_players ( ) const
inline

Determine if the 'minAutoMatchingPlayers' attribute was set.

Returns
true if the 'minAutoMatchingPlayers' attribute was set.

◆ New()

TurnBasedAutoMatchingCriteria * google_games_api::TurnBasedAutoMatchingCriteria::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_exclusive_bitmask()

void google_games_api::TurnBasedAutoMatchingCriteria::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::TurnBasedAutoMatchingCriteria::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_max_auto_matching_players()

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

Change the 'maxAutoMatchingPlayers' attribute.

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

Parameters
[in]valueThe new value.

◆ set_min_auto_matching_players()

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

Change the 'minAutoMatchingPlayers' attribute.

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

Parameters
[in]valueThe new value.

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