public buff(int _buffID, BuffConnection _buffType, BuffLastType _buffLastType, int _buffTime, int _buffValue, BuffOverlapType _buffOverlapType) { this.buffID = _buffID; this.buffType = _buffType; this.buffLastType = _buffLastType; this.buffTime = _buffTime; this.buffValue = _buffValue; this.buffOverlapType = _buffOverlapType; }
public BuffBase(RofBuffRow mRofBuffRow) { BuffID = mRofBuffRow.ID; BuffName = mRofBuffRow.BuffName; buffEffectType = (BuffEffectType)mRofBuffRow.BuffEffectType; buffRepeatType = (BuffRepeatType)mRofBuffRow.BuffRepeatType; buffOverlapType = (BuffOverlapType)mRofBuffRow.BuffOverlapType; buffShutDownType = (BuffShutDownType)mRofBuffRow.BuffShutDownType; MaxLimit = mRofBuffRow.MaxLimit; TotalFrame = mRofBuffRow.TotalFrame; CallIntervalFrame = mRofBuffRow.CallIntervalFrame; Num = mRofBuffRow.Num; Effect = mRofBuffRow.Effect; }