62 lines
1.4 KiB
C#
62 lines
1.4 KiB
C#
//using Nettention.Proud;
|
|
//using ServerCommon;
|
|
//using System;
|
|
//using System.Collections.Generic;
|
|
//using System.Linq;
|
|
//using System.Text;
|
|
//using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
//namespace GameServer
|
|
//{
|
|
// public partial class ClientSession : IEntityWithSession
|
|
// {
|
|
// public HostID getHostId()
|
|
// {
|
|
// return HostId;
|
|
// }
|
|
|
|
// public int getSessionId()
|
|
// {
|
|
// return HostId.toSESSION_ID();
|
|
// }
|
|
|
|
// public string getUserId()
|
|
// {
|
|
// return Id;//_selectedChar._charEntity.Id;
|
|
// }
|
|
|
|
// public System.Guid getUserGuid()
|
|
// {
|
|
// return System.Guid.Parse(AccountGuid);
|
|
// }
|
|
|
|
// public string getUserNickname()
|
|
// {
|
|
// return _selectedChar._charEntity.CharInfo.DisplayName;
|
|
// }
|
|
|
|
// public LanguageType getLanguageType()
|
|
// {
|
|
// return (LanguageType)_selectedChar._charEntity.CharInfo.LanguageInfo;
|
|
// }
|
|
|
|
// public string toBasicString()
|
|
// {
|
|
// return $"EntityUser: userId:{getUserId()}, userNickname:{getUserNickname()}";
|
|
// }
|
|
|
|
// public string toSummaryString()
|
|
// {
|
|
// return $"EntityUser: userId:{getUserId()}, userGuid:{getUserGuid()}, userNickname:{getUserNickname()}";
|
|
// }
|
|
|
|
// public IntPtr getGameGuardInstance()
|
|
// {
|
|
// return GameGuardInstance;
|
|
// }
|
|
// }
|
|
//}
|