Scorum
Public Member Functions | Public Attributes | List of all members
scorum::app::game_api_object Struct Reference

#include <betting_api_objects.hpp>

Public Member Functions

 game_api_object ()=default
 
 game_api_object (const chain::game_object &obj)
 

Public Attributes

chain::game_id_type id = 0
 
uuid_type uuid
 
std::string moderator
 
std::string json_metadata
 
fc::time_point_sec start_time = fc::time_point_sec::min()
 
fc::time_point_sec last_update = fc::time_point_sec::min()
 
fc::time_point_sec bets_resolve_time = time_point_sec::maximum()
 
chain::game_status status = chain::game_status::created
 
chain::game_type game
 
fc::flat_set< chain::market_typemarkets
 
fc::flat_set< chain::wincase_typeresults
 

Detailed Description

Definition at line 15 of file betting_api_objects.hpp.

Constructor & Destructor Documentation

◆ game_api_object() [1/2]

scorum::app::game_api_object::game_api_object ( )
default

◆ game_api_object() [2/2]

scorum::app::game_api_object::game_api_object ( const chain::game_object obj)
inline

Definition at line 19 of file betting_api_objects.hpp.

Member Data Documentation

◆ bets_resolve_time

fc::time_point_sec scorum::app::game_api_object::bets_resolve_time = time_point_sec::maximum()

Definition at line 41 of file betting_api_objects.hpp.

◆ game

chain::game_type scorum::app::game_api_object::game

Definition at line 44 of file betting_api_objects.hpp.

◆ id

chain::game_id_type scorum::app::game_api_object::id = 0

Definition at line 33 of file betting_api_objects.hpp.

◆ json_metadata

std::string scorum::app::game_api_object::json_metadata

Definition at line 37 of file betting_api_objects.hpp.

◆ last_update

fc::time_point_sec scorum::app::game_api_object::last_update = fc::time_point_sec::min()

Definition at line 40 of file betting_api_objects.hpp.

◆ markets

fc::flat_set<chain::market_type> scorum::app::game_api_object::markets

Definition at line 46 of file betting_api_objects.hpp.

◆ moderator

std::string scorum::app::game_api_object::moderator

Definition at line 36 of file betting_api_objects.hpp.

◆ results

fc::flat_set<chain::wincase_type> scorum::app::game_api_object::results

Definition at line 47 of file betting_api_objects.hpp.

◆ start_time

fc::time_point_sec scorum::app::game_api_object::start_time = fc::time_point_sec::min()

Definition at line 39 of file betting_api_objects.hpp.

◆ status

chain::game_status scorum::app::game_api_object::status = chain::game_status::created

Definition at line 43 of file betting_api_objects.hpp.

◆ uuid

uuid_type scorum::app::game_api_object::uuid

Definition at line 34 of file betting_api_objects.hpp.


The documentation for this struct was generated from the following file: