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