forked from github/server
Mehr Variablen (passwort, subscription) aus der Partei exportiert, für Spezial-Skripte.
This commit is contained in:
parent
6af9470503
commit
d3ea049365
|
@ -67,7 +67,11 @@ bind_faction(lua_State * L)
|
||||||
|
|
||||||
class_<struct faction>("faction")
|
class_<struct faction>("faction")
|
||||||
.def_readonly("name", &faction::name)
|
.def_readonly("name", &faction::name)
|
||||||
|
.def_readonly("password", &faction::passw)
|
||||||
|
.def_readonly("email", &faction::email)
|
||||||
.def_readonly("id", &faction::no)
|
.def_readonly("id", &faction::no)
|
||||||
|
.def_readwrite("subscription", &faction::subscription)
|
||||||
|
.def_readwrite("lastturn", &faction::lastorders)
|
||||||
.property("units", &faction_units, return_stl_iterator)
|
.property("units", &faction_units, return_stl_iterator)
|
||||||
.property("alliance", &faction_getalliance, &faction_setalliance)
|
.property("alliance", &faction_getalliance, &faction_setalliance)
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue