Hey guys!
Is it possible that I can get the User.getId variable from this object
http://docs2x.smartfoxserver.com/api-do ... /User.html
in the USER_LOGIN handler? I know I can get it from the USER_JOIN_ZONE but I lost my parameters there.
thanks
User.getId value on USER_LOGIN
-
- Posts: 58
- Joined: 16 Aug 2012, 10:05
Re: User.getId value on USER_LOGIN
{ This thread was moved to the right section, under SFS2X }
Hi,
no the USER_LOGIN handler runs way before a User object is created, so there's no way to access the id of an object that has yet to be created.
Cheers
Hi,
no the USER_LOGIN handler runs way before a User object is created, so there's no way to access the id of an object that has yet to be created.
Cheers
-
- Posts: 58
- Joined: 16 Aug 2012, 10:05
Re: User.getId value on USER_LOGIN
Oke thanks, I found a workaround for it so we are good now!
Who is online
Users browsing this forum: No registered users and 130 guests