public void SendMapCompleteMsg() { var starterInfo = infoGetter.GetMapInfo(); socketStarter.CerealSendMsg(starterInfo); isProcessingInstruction = false; waitingForActionCompletion = false; }
/* Sends a websocket message over route "init" containing json information * about initial map conditions @ tag is "Human" or "Agent" depending on * which character was chosen. */ public void SendMap(string tag) { if (Replay.replaying || TutorialGuide.tutorialMode) { return; } var info = infoGetter.GetMapInfo(); #if UNITY_WEBGL if (!TutorialGuide.tutorialMode) { SockSend("init", info); } #endif }