public void OnSessionBegin(string sessionName, GameDefinition gameDef, ai.lib.utils.Props sessionParameters)
        {
            remote.IPlayer_OnSessionBegin command = new remote.IPlayer_OnSessionBegin();
            command.sessionName       = sessionName;
            command.gameDef           = (new remote.GameDefinition()).ToRemote(gameDef);
            command.sessionParameters = (new remote.Props()).ToRemote(sessionParameters);
            WriteCommand((int)remote.IPlayer_FunctionIDs.OnSessionBegin, command);

            // No response required.
        }
 public void OnSessionEvent(ai.lib.utils.Props parameters)
 {
     // Todo: implement.
 }
 public void OnCreate(string name, ai.lib.utils.Props creationParameters)
 {
     // Not supported for remote players.
     throw new NotImplementedException();
 }
 public ConstructFromXmlParams()
 {
     Local = new Props();
 }