RigsofRods
Soft-body Physics Simulation
doc
angelscript
Script2Server
rornet.h
Go to the documentation of this file.
1
2
11
namespace
Script2Server
{
12
16
enum
authType
17
{
18
AUTH_NONE
= 0,
19
AUTH_ADMIN
=
BITMASK
(1),
20
AUTH_RANKED
=
BITMASK
(2),
21
AUTH_MOD
=
BITMASK
(3),
22
AUTH_BOT
=
BITMASK
(4),
23
AUTH_BANNED
=
BITMASK
(5)
24
};
25
26
29
class
StreamRegister
30
{
31
string
getName
();
32
int
type
;
33
int
status
;
34
int
origin_sourceid
;
35
int
origin_streamid
;
36
};
37
38
}
// namespace Script2Server
39
Script2Server::AUTH_MOD
@ AUTH_MOD
moderator status
Definition:
rornet.h:21
Script2Server::StreamRegister::status
int status
Definition:
rornet.h:33
Script2Server::AUTH_BANNED
@ AUTH_BANNED
banned
Definition:
rornet.h:23
Script2Server
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
Definition:
globals.h:11
Script2Server::StreamRegister
Binding of RoRnet::StreamRegister class.
Definition:
rornet.h:29
Script2Server::authType
authType
Binding of RoRnet::UserAuth.
Definition:
rornet.h:16
BITMASK
#define BITMASK(OFFSET)
Definition:
BitFlags.h:10
Script2Server::StreamRegister::type
int type
Definition:
rornet.h:32
Script2Server::StreamRegister::origin_streamid
int origin_streamid
Definition:
rornet.h:35
Script2Server::StreamRegister::origin_sourceid
int origin_sourceid
Definition:
rornet.h:34
Script2Server::AUTH_RANKED
@ AUTH_RANKED
ranked status
Definition:
rornet.h:20
Script2Server::AUTH_ADMIN
@ AUTH_ADMIN
admin on the server
Definition:
rornet.h:19
Script2Server::AUTH_BOT
@ AUTH_BOT
bot status
Definition:
rornet.h:22
Script2Server::StreamRegister::getName
string getName()
Script2Server::AUTH_NONE
@ AUTH_NONE
no authentication
Definition:
rornet.h:18
Generated by
1.8.17