/// <summary> /// /// </summary> public void HandleLogout() { if ((lagMonitor != null) && lagMonitor.IsRunning) { lagMonitor.Stop(); } mySelf = null; }
/// <summary> /// /// </summary> /// <param name="mpa"></param> /// <returns></returns> public static MPUser FromSFSArray(IMPArray mpa) { MPUser user = new MPUser(mpa.GetInt(0), mpa.GetUtfString(1)) { PrivilegeId = mpa.GetShort(2) }; return(user); }