NAME
gc_opt_type
- Enumeration of data types for options in Server configuration.
SYNOPSIS
#include <game-carrier/common.h>
enum gc_opt_type {
GC_OPT_TYPE_NULL = 0,
GC_OPT_TYPE_STRING = 1,
GC_OPT_TYPE_UINT64 = 2,
GC_OPT_TYPE_INT = 3,
GC_OPT_TYPE_COUNT
};
DESCRIPTION
This section defines the datatypes that can be assigned to the value
pointer in the gc_clients_setopt
and getOpt
functions.
Name | Value | Description |
---|---|---|
GC_OPT_TYPE_NULL |
0 | Null type. |
GC_OPT_TYPE_STRING |
1 | String type. |
GC_OPT_TYPE_UINT64 |
2 | Unsigned 64-bit integer. |
GC_OPT_TYPE_INT |
3 | Signed 32-bit integer. |
GC_OPT_TYPE_COUNT |
4 | Total number of available data types. |