public static TDCGroupData Clone(TDCGroupData instance) { var tmp = new TDCGroupData (); tmp.ID = instance.ID; tmp.Name = instance.Name; tmp.Description = instance.Description; tmp.ModelPath = instance.ModelPath; tmp.GameType = instance.GameType; tmp.Radius = instance.Radius; tmp.MemberType = instance.MemberType; tmp.CurrentMember = instance.CurrentMember; tmp.MaxMember = instance.MaxMember; tmp.GroupType = instance.GroupType; tmp.GroupSpawnType = instance.GroupSpawnType; tmp.Icon = instance.Icon; tmp.TimeSpawnMember = instance.TimeSpawnMember; tmp.FSMPath = instance.FSMPath; tmp.CurrentHP = instance.CurrentHP; tmp.MaxHP = instance.MaxHP; tmp.Inventory = instance.Inventory; tmp.IsShine = instance.IsShine; return tmp; }
public TDCGroup(TDCBaseController ctrl, TDCBaseData data) : base(ctrl, data) { m_Controller = ctrl as TDCBaseGroupController; m_Data = data as TDCGroupData; }
public override void SetData(TDCBaseData data) { m_Data = data as TDCGroupData; }