Hi everyone! My question is, as written in the title, is how to move into another room when already inside a room?
I successfully join a room by calling
OpJoinOrCreateRoom(string roomName...........)
After i successfully join the room and do some stuff in the room, I would like to go to another room by calling
OpJoinOrCreateRoom(string anotherRoomName...........) but I can not successfully change rooms IF I DO NOT CALL
LeaveRoom(........) method. Or HivePeer will throw an error in the following code
HivePeer.cs
......
if (this.JoinStage != JoinStages.Connected)←If already inside a room JoinStage=11 but JoinStages.Connected is 0
{
this.OnWrongOperationStage(operationRequest, sendParameters);
return;
}
.......
Is this expected behavior? Does client have to call leaveroom before entering another room?
I successfully join a room by calling
OpJoinOrCreateRoom(string roomName...........)
After i successfully join the room and do some stuff in the room, I would like to go to another room by calling
OpJoinOrCreateRoom(string anotherRoomName...........) but I can not successfully change rooms IF I DO NOT CALL
LeaveRoom(........) method. Or HivePeer will throw an error in the following code
HivePeer.cs
......
if (this.JoinStage != JoinStages.Connected)←If already inside a room JoinStage=11 but JoinStages.Connected is 0
{
this.OnWrongOperationStage(operationRequest, sendParameters);
return;
}
.......
Is this expected behavior? Does client have to call leaveroom before entering another room?