public void OnCreateRoom() { SingleTone <ContextManager> .Instance.ShowView(new CreateRoomContext(), false); MsCreateRoomInfo info = new MsCreateRoomInfo("MatchVS", 3, 0, 0, 0, "matchvs"); GameManager.CreateRoom(info, "matchvs"); GameManager.Instance.Mode = GameMode.CreatRoomMode; }
public static int CreateRoom(MsCreateRoomInfo info, string userProfile) { return(engine.createRoom(info, userProfile)); }