MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / UserInfo

Method UserInfo

plugins/webadmin/commonItems.cpp:70–77  ·  view source on GitHub ↗

----------------UserInfo

Source from the content-addressed store, hash-verified

68
69//----------------UserInfo
70UserInfo::UserInfo(Templateiser& ts) {
71 sessionAuth = NULL;
72 sessionID = -1;
73 ts.addKey("username", this);
74
75 ts.addIF("hasperm", this);
76
77}
78
79void UserInfo::keyCallback(std::string& data, const std::string& /*key*/) {
80 data += userName;

Callers

nothing calls this directly

Calls 2

addKeyMethod · 0.80
addIFMethod · 0.80

Tested by

no test coverage detected