You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.0 KiB
50 lines
1.0 KiB
/*
|
|
Sog 游戏基础库
|
|
2016 by zouwei
|
|
*/
|
|
|
|
using ProtoCSStruct;
|
|
using System.Collections.Generic;
|
|
using Sog;
|
|
using Sog.Data;
|
|
|
|
|
|
namespace Account
|
|
{
|
|
public class PlayerSession : DataSeqSave, ISyncData
|
|
{
|
|
public ulong GetRuntimeId()
|
|
{
|
|
return (ulong)SessionID;
|
|
}
|
|
|
|
public long SessionID { get; private set; }
|
|
|
|
public int AccountType;
|
|
public string AccountID;
|
|
public uint GateServerID { get; private set; }
|
|
//public long GameId;(废弃掉)
|
|
public string Os;
|
|
public string Ip;
|
|
|
|
public string appVersion;
|
|
|
|
public string taDistinctID;
|
|
|
|
public int platformType;
|
|
|
|
//public int hadGetBriefs;
|
|
|
|
//public List<CSRoleBrief> roleBriefs;
|
|
|
|
//选择的区域
|
|
//public string selectArea;
|
|
|
|
public PlayerSession(long sessionID, uint gateServerID)
|
|
{
|
|
SessionID = sessionID;
|
|
GateServerID = gateServerID;
|
|
//roleBriefs = new List<CSRoleBrief>();
|
|
}
|
|
}
|
|
}
|
|
|