// *********************************************************************** // Assembly : Unity // Author : Kimch // Created : // // Last Modified By : Kimch // Last Modified On : // *********************************************************************** // // // *********************************************************************** namespace G { /// /// 角色相关 /// public class PlayerInfo { public PlayerInfo(long id) { this.id = id; } #region 角色属性 /// /// 角色Id /// public long id { get; private set; } int _itemId = 30001; public int itemId { set { _itemId = value; } get { return _itemId; } } /// /// 等级 /// public int grade { get; set; } /// /// 昵称 /// public string nickName { get; set; } /// /// 自我介绍 /// public string selfIntro { get; set; } private string _headURL; /// /// 头像 /// public string headURL { get { return _headURL; } set { if (!string.IsNullOrEmpty(value)) { _headURL = value; } else { _headURL = "Icon_Touxiang1_01"; } } } //private readonly Dictionary _curWears = new Dictionary((int)WearPosition.kMax); ///// ///// 当前装备([装扮位置,装扮Id]) ///// //public Dictionary curWears //{ // get // { // return _curWears; // } //} //private readonly Dictionary _curMakeups = new Dictionary((int)KRoleDefine.MakeupType.MAX); ///// ///// 当前妆容([装扮位置,装扮Id]) ///// //public Dictionary curMakeups //{ // get // { // return _curMakeups; // } //} //public byte[] dnaInfos //{ // get; // set; //} #endregion } }