public void ReduceBasePoint(enmPropType type, int reducePoint = 1) { PropItem <int> pi = mBasePoints.GetPropItem((int)type); if (pi != null) { pi.SetValue(pi.GetValue() - reducePoint); } }
public void AddBasePoint(enmPropType type, int addPoint = 1) { PropItem <int> pi = mBasePoints.GetPropItem((int)type); if (pi != null) { pi.SetValue(pi.GetValue() + addPoint); } }