private void SetEffectTypeLabel(BufferCorrectionType iType) { string text = string.Empty; switch (iType) { case BufferCorrectionType.AttackHitFactor: text = "攻撃命中率補正"; break; case BufferCorrectionType.HitAvoianceFactor: text = "被弾回避率補正"; break; case BufferCorrectionType.TorpedoHitFactor: text = "雷撃命中率補正"; break; } _uiEffectType.text = text; }
public BufferCorrection(BufferCorrectionType iType, int nCorrectionFactor) { _iType = iType; _nCorrectionFactor = nCorrectionFactor; }