It would be great to have a possibility to pass an extra object in server-side function (from SFSApi):
Code: Select all
public void joinRoom(User user,
Room roomToJoin,
java.lang.String password,
boolean asSpectator,
Room roomToLeave,
boolean fireClientEvent,
boolean fireServerEvent)
throws SFSJoinRoomException
to be then handled on the client side from parameters, like it is in the SFSEvent.LOGIN and
Code: Select all
data (ISFSObject) An object containing custom parameters returned by a custom login system, if any.
Best Regards
mack