public CObjectData() : base() { this.name = string.Empty; this.objectType = CEnum.EObjectType.None; this.fsmPath = string.Empty; this.modelPath = string.Empty; this.avatarPath = string.Empty; this.currentHealth = 0; this.maxHealth = 0; }
public CObjectData() : base() { this.name = string.Empty; this.objectType = CEnum.EObjectType.None; this.fsmPath = string.Empty; this.modelPath = string.Empty; this.avatarPath = string.Empty; this.currentHealth = 0; this.maxHealth = 0; this.resourceMaterials = new CItemData[0]; }
public override void SetObjectType(CEnum.EObjectType objectType) { base.SetObjectType(objectType); m_Data.objectType = objectType; }
public virtual void SetObjectType(CEnum.EObjectType value) { }
public override void LoadFromDictionary(Dictionary <string, object> value) { base.LoadFromDictionary(value); this.name = value["name"].ToString(); this.objectType = (CEnum.EObjectType)Enum.Parse(typeof(CEnum.EObjectType), value["objectType"].ToString()); }
public CObjectData() : base() { this.name = string.Empty; this.objectType = CEnum.EObjectType.None; }