Mania++
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Variables
Pages
src
Methods
Structs.h
1
#ifndef METHODS_STRUCTS_H_
2
#define METHODS_STRUCTS_H_
3
4
//* ServerInfo
8
struct
ServerVersion
9
{
10
std::string
ApiVersion
;
11
std::string
Build
;
12
std::string
Name
;
13
std::string
TitleId
;
14
std::string
Version
;
15
};
16
17
//* SystemInfo
21
struct
SystemInfo
22
{
23
int
ConnectionDownloadRate
;
24
int
ConnectionUploadRate
;
25
bool
IsDedicated
;
26
bool
IsServer
;
27
int
P2PPort
;
28
int
Port
;
29
std::string
PublishedIp
;
30
std::string
ServerLogin
;
31
int
ServerPlayerId
;
32
std::string
TitleId
;
33
};
34
35
//* ServerStatus
39
struct
ServerStatus
40
{
41
int
Code
;
42
std::string
Name
;
43
};
44
45
//* ManiaLinkPageAnswer
49
struct
ManiaLinkPageAnswer
50
{
51
Player
AnsweringPlayer
;
52
int
Result
;
53
};
54
55
//* CurrentCallVote
59
struct
CurrentCallVote
60
{
61
std::string
CallerLogin
;
62
std::string
CmdName
;
63
std::string
CmdParam
;
64
};
65
66
//* CallVoteRatio
70
struct
CallVoteRatio
71
{
72
std::string
Command
;
73
double
Ratio
;
74
};
75
76
//* CallVote
80
struct
ExtendedCallVoteRatio
81
{
82
std::string
Command
;
83
std::string
Param
;
84
double
Ratio
;
85
};
86
87
//* CurrentNextValue
91
struct
CurrentNextValue
92
{
93
int
CurrentValue
;
94
int
NextValue
;
95
};
96
97
#endif // METHODS_STRUCTS_H_
CurrentCallVote::CmdParam
std::string CmdParam
Callvote parameter.
Definition:
Structs.h:63
CurrentNextValue::CurrentValue
int CurrentValue
Current value of the setting.
Definition:
Structs.h:93
ManiaLinkPageAnswer::Result
int Result
Answering result.
Definition:
Structs.h:52
CallVoteRatio::Command
std::string Command
Command for the ratio.
Definition:
Structs.h:72
ExtendedCallVoteRatio::Param
std::string Param
Parameter of the callvote.
Definition:
Structs.h:83
SystemInfo::TitleId
std::string TitleId
Title identifier.
Definition:
Structs.h:32
SystemInfo::Port
int Port
Game serverport.
Definition:
Structs.h:28
ServerVersion::Name
std::string Name
Platform name (f.e. ManiaPlanet).
Definition:
Structs.h:12
ServerVersion::TitleId
std::string TitleId
Title identifier (f.e. TMCanyon).
Definition:
Structs.h:13
SystemInfo::PublishedIp
std::string PublishedIp
Server IP Address.
Definition:
Structs.h:29
ServerVersion::Version
std::string Version
Platform version (f.e. 3.3.0).
Definition:
Structs.h:14
Player
Contains all information about a player in easy-to-use format.
Definition:
Player.h:10
SystemInfo::ServerLogin
std::string ServerLogin
Server login.
Definition:
Structs.h:30
CallVoteRatio::Ratio
double Ratio
Vote passing ratio (between 0 and 1, -1 for disable).
Definition:
Structs.h:73
SystemInfo::P2PPort
int P2PPort
Peer-to-peer serverport.
Definition:
Structs.h:27
ManiaLinkPageAnswer::AnsweringPlayer
Player AnsweringPlayer
Player answering.
Definition:
Structs.h:51
SystemInfo
Struct with system information.
Definition:
Structs.h:21
CurrentNextValue::NextValue
int NextValue
Next value of the setting.
Definition:
Structs.h:94
ManiaLinkPageAnswer
Struct with a ManiaLink page answer.
Definition:
Structs.h:49
CurrentCallVote::CmdName
std::string CmdName
Name of the callvote.
Definition:
Structs.h:62
ServerStatus
Struct with server status.
Definition:
Structs.h:39
SystemInfo::ServerPlayerId
int ServerPlayerId
Server player identifier.
Definition:
Structs.h:31
ServerVersion::ApiVersion
std::string ApiVersion
API version (f.e. 2013-04-06).
Definition:
Structs.h:10
ServerStatus::Code
int Code
Current status code.
Definition:
Structs.h:41
ServerVersion
Struct with server version information.
Definition:
Structs.h:8
ExtendedCallVoteRatio::Command
std::string Command
Name of the callvote.
Definition:
Structs.h:82
CallVoteRatio
Struct with a callvote ratio.
Definition:
Structs.h:70
CurrentCallVote
Struct with a current callvote.
Definition:
Structs.h:59
ServerStatus::Name
std::string Name
Current status name.
Definition:
Structs.h:42
SystemInfo::IsServer
bool IsServer
Is server?
Definition:
Structs.h:26
SystemInfo::ConnectionUploadRate
int ConnectionUploadRate
Upload rate in Kbps.
Definition:
Structs.h:24
ServerVersion::Build
std::string Build
Build version (f.e. 2015-06-06_18_00).
Definition:
Structs.h:11
SystemInfo::IsDedicated
bool IsDedicated
Is dedicated server?
Definition:
Structs.h:25
CurrentNextValue
Struct with a current and next value.
Definition:
Structs.h:91
CurrentCallVote::CallerLogin
std::string CallerLogin
Player login who created the vote.
Definition:
Structs.h:61
ExtendedCallVoteRatio
Struct with a callvote.
Definition:
Structs.h:80
SystemInfo::ConnectionDownloadRate
int ConnectionDownloadRate
Download rate in Kbps.
Definition:
Structs.h:23
ExtendedCallVoteRatio::Ratio
double Ratio
Vote passing ratio (between 0 and 1, -1 for disable).
Definition:
Structs.h:84
Generated on Tue Jan 10 2017 21:40:49 for Mania++ by
1.8.6