SmartFoxServer Basic exitCurrentRoom = false 不工作
SmartFoxServer Basic exitCurrentRoom = false not working
我想留在当前房间,但 exitCurrentRoom = false 不起作用,我每次都离开房间,我该如何解决这个问题或有什么问题?!
我想让每个用户都呆在大厅里,这样他们就可以在游戏开始前收到更新。
var gameRoom = {};
gameRoom.name = user;
gameRoom.password = "";
gameRoom.maxUsers = 4;
gameRoom.isGame = true;
gameRoom.exitCurrentRoom = false;
sfs.createRoom(游戏室);
谢谢
问题是 exitCurrentRoom 实际上是 exitCurrent。只是浪费了很多时间在这上面,我希望它能帮助别人。
有关上次 post 的更多信息 here。
我想留在当前房间,但 exitCurrentRoom = false 不起作用,我每次都离开房间,我该如何解决这个问题或有什么问题?!
我想让每个用户都呆在大厅里,这样他们就可以在游戏开始前收到更新。
var gameRoom = {};
gameRoom.name = user;
gameRoom.password = "";
gameRoom.maxUsers = 4;
gameRoom.isGame = true;
gameRoom.exitCurrentRoom = false;
sfs.createRoom(游戏室);
谢谢
问题是 exitCurrentRoom 实际上是 exitCurrent。只是浪费了很多时间在这上面,我希望它能帮助别人。
有关上次 post 的更多信息 here。