Example #1
0
 public static UserState GetUserState(this NetUser user)
 {
     return(user.GetLocal <UserState>("userstate"));
 }
Example #2
0
 public static UserId GetUserId(this NetUser user)
 {
     return(user.GetLocal <UserId>("userid"));
 }
Example #3
0
 public static void SetUserState(this NetUser user, UserState id)
 {
     user.SetLocal <UserState>("userstate", id);
 }
Example #4
0
 public static void SetUserId(this NetUser user, UserId id)
 {
     user.SetLocal <UserId>("userid", id);
 }