// Gets the latest version of the given profile form the server
    public static Profile GetNewProfileFromServer(Profile currentProfile)
    {
        int uid = currentProfile.uid;

        return(ProfileMessenger.GetProfileById(uid));
    }
Exemplo n.º 2
0
 public static bool LoadProfileWithUid(int userid)
 {
     GlobalState.Instance._profile = ProfileMessenger.GetProfileById(userid);
     return(true);
 }