mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
More ScriptInterface const.
Reviewed By: elexis; some comments by bb Differential Revision: https://code.wildfiregames.com/D863 This was SVN commit r20519.
This commit is contained in:
@@ -159,7 +159,7 @@ public:
|
||||
* Get the script interface associated with this network client,
|
||||
* which is equivalent to the one used by the CGame in the constructor.
|
||||
*/
|
||||
ScriptInterface& GetScriptInterface();
|
||||
const ScriptInterface& GetScriptInterface();
|
||||
|
||||
/**
|
||||
* Send a message to the server.
|
||||
@@ -189,7 +189,7 @@ public:
|
||||
*/
|
||||
void LoadFinished();
|
||||
|
||||
void SendGameSetupMessage(JS::MutableHandleValue attrs, ScriptInterface& scriptInterface);
|
||||
void SendGameSetupMessage(JS::MutableHandleValue attrs, const ScriptInterface& scriptInterface);
|
||||
|
||||
void SendAssignPlayerMessage(const int playerID, const CStr& guid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user