Scorum
libraries
protocol
include
scorum
protocol
betting
game_status.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <fc/reflect/reflect.hpp>
3
4
namespace
scorum
{
5
namespace
protocol {
6
enum class
game_status
: uint8_t
7
{
8
created
,
9
started
,
10
finished
,
11
resolved
,
12
expired
,
13
cancelled
14
};
15
}
16
}
17
18
FC_REFLECT_ENUM
(
scorum::protocol::game_status
, (created)(started)(finished)(resolved)(expired)(cancelled))
19
20
namespace
fc
{
21
class
variant;
22
void
to_variant
(
const
scorum::protocol::game_status
& m, fc::variant& variant);
23
}
FC_REFLECT_ENUM
FC_REFLECT_ENUM(scorum::protocol::game_status,(created)(started)(finished)(resolved)(expired)(cancelled)) namespace fc
Definition:
game_status.hpp:18
fc
Definition:
game.cpp:4
fc::to_variant
void to_variant(const game_type &game, fc::variant &var)
Definition:
game.cpp:8
scorum::protocol::game_status
game_status
Definition:
game_status.hpp:7
scorum::protocol::game_status::cancelled
@ cancelled
scorum::protocol::game_status::started
@ started
scorum::protocol::game_status::finished
@ finished
scorum::protocol::game_status::expired
@ expired
scorum::protocol::game_status::created
@ created
scorum::protocol::game_status::resolved
@ resolved
scorum
Definition:
asset.cpp:15
Generated on Thu Jun 9 2022 13:04:26 for Scorum by
1.9.1