Esempio n. 1
0
    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;
    }
Esempio n. 2
0
 public static int CreateRoom(MsCreateRoomInfo info, string userProfile)
 {
     return(engine.createRoom(info, userProfile));
 }