public void SetData(UserDataMode data) { userid = data.userid; // 角色ID username = data.username; // 角色名称 itemList = data.itemList; //道具列表 level = data.level; viplevel = data.viplevel; }
public override bool Equals(object o) { if (o is AHString) { AHString b = (AHString)o; return(this.v == b.v); } else { return(false); } }
public bool Equals(AHString b) { return((object)b != null && v == b.v); }