Diffrence in Java and As Server API document ?

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
Sandyx
Posts: 21
Joined: 06 Sep 2008, 10:54

Diffrence in Java and As Server API document ?

Post by Sandyx »

hi

in the java docs .. the Zone Class has a function called

roomNameAlreadyExist()

in the AS version of the Zone class i dont see it ...

any reason for this ...


Thanks
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

No, you can call that method as well.
Actually it's for internal use, use it at your own risk :)
Lapo
--
gotoAndPlay()
...addicted to flash games
Sandyx
Posts: 21
Joined: 06 Sep 2008, 10:54

Post by Sandyx »

*gulp* ... thats a scary one ... use at own risk :D
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

just kidding :)
but you shouldn't need that, because the server will the do the work for you (checking the existence of a room)
Lapo
--
gotoAndPlay()
...addicted to flash games
Sandyx
Posts: 21
Joined: 06 Sep 2008, 10:54

Post by Sandyx »

hi

ya .. how we are working this .. is not allowing the client to create a room [client side , CreateRoom()] ... he sends a request to the server . who then creates the same .. and tell him about it.. so ... the roomNameAlreadyExist() is helpfull :)
Post Reply