| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
#ifndef _ATLAS_SC_RACE_V1_H_ |
| 8 |
#define _ATLAS_SC_RACE_V1_H_ |
| 9 |
|
| 10 |
#ifdef __cplusplus |
| 11 |
extern "C" { |
| 12 |
#endif |
| 13 |
|
| 14 |
extern int ATLAS_GET_KEY(char* keyName); |
| 15 |
extern char* ATLAS_GET_KEY_NAME(int keyId); |
| 16 |
extern int ATLAS_GET_STAT(char* statName); |
| 17 |
extern char* ATLAS_GET_STAT_NAME(int statId); |
| 18 |
|
| 19 |
#define ATLAS_RULE_SET_VERSION 1 |
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
#define RACE_TIME 1 // [TYPE: int] [DESC: Player's race time for the match (milliseconds).] |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
#define CAREER_WINS 1 // [TYPE: int] |
| 32 |
#define CAREER_LOSSES 2 // [TYPE: int] |
| 33 |
#define BEST_RACE_TIME 3 // [TYPE: int] [DESC: Player's career best race time (milliseconds).] |
| 34 |
#define WORST_RACE_TIME 4 // [TYPE: int] [DESC: Player's career worst race time (milliseconds).] |
| 35 |
#define TOTAL_MATCHES 5 // [TYPE: int] |
| 36 |
#define AVERAGE_RACE_TIME 6 // [TYPE: float] [DESC: Player's average race time per match (milliseconds/match).] |
| 37 |
#define CURRENT_WIN_STREAK 7 // [TYPE: int] |
| 38 |
#define CURRENT_LOSS_STREAK 8 // [TYPE: int] |
| 39 |
#define TOTAL_RACE_TIME 9 // [TYPE: int] [DESC: Player's total race time for all matches (milliseconds).] |
| 40 |
#define CAREER_DISCONNECTS 11 // [TYPE: int] [DESC: Player's total number of times disconnected.] |
| 41 |
#define DISCONNECT_RATE 12 // [TYPE: float] [DESC: Player's disconnect rate (disconnects/matches).] |
| 42 |
#define CAREER_DRAWS 13 // [TYPE: int] [DESC: Player's total number of draws (tied matches).] |
| 43 |
#define CURRENT_DRAW_STREAK 14 // [TYPE: int] |
| 44 |
#define CAREER_LONGEST_WIN_STREAK 15 // [TYPE: int] |
| 45 |
#define CAREER_LONGEST_LOSS_STREAK 16 // [TYPE: int] |
| 46 |
#define CAREER_LONGEST_DRAW_STREAK 17 // [TYPE: int] |
| 47 |
#define TOTAL_COMPLETE_MATCHES 18 // [TYPE: int] [DESC: Total number of matches where the game went to completion (all win/loss/draw results).] |
| 48 |
#define RICHARD_TEST1 19 // [TYPE: int] |
| 49 |
#define RICHARD_TEST2 20 // [TYPE: int] |
| 50 |
#define RICHARD_TEST3 21 // [TYPE: int] |
| 51 |
|
| 52 |
|
| 53 |
#ifdef __cplusplus |
| 54 |
} |
| 55 |
#endif |
| 56 |
|
| 57 |
#endif |