public void Create() { MahjongClientMain main = MahjongClientMain.instance; if (main != null) { main.onError = __OnError; main.CreateRoom(__shuffleType, __roomType); } }