Api Documentation
Added API documentation for GetShutdownMessage. Style fix in Root.cpp
This commit is contained in:
parent
25e4f15488
commit
78b6d54bf8
@ -13002,6 +13002,16 @@ end
|
||||
},
|
||||
Notes = "Returns the server description set in the settings.ini.",
|
||||
},
|
||||
GetShutdownMessage =
|
||||
{
|
||||
Returns =
|
||||
{
|
||||
{
|
||||
Type = "string",
|
||||
},
|
||||
},
|
||||
Notes = "Returns the shutdown message set in the settings.ini.",
|
||||
},
|
||||
GetMaxPlayers =
|
||||
{
|
||||
Returns =
|
||||
|
@ -343,7 +343,7 @@ void cRoot::StopServer()
|
||||
}
|
||||
public:
|
||||
cPlayerCallback(AString a_ShutdownMessage) : m_ShutdownMessage(a_ShutdownMessage) {}
|
||||
}PlayerCallback((m_Server->GetShutdownMessage()));
|
||||
} PlayerCallback((m_Server->GetShutdownMessage()));
|
||||
|
||||
cRoot::Get()->ForEachPlayer(PlayerCallback);
|
||||
// What's a better way to do this?
|
||||
|
Loading…
Reference in New Issue
Block a user