MapServer.PlayerObject.ResetLevelExp C# (CSharp) Method

ResetLevelExp() public method

public ResetLevelExp ( ) : void
return void
        public void ResetLevelExp()
        {
            ulong _exp = 0;
            GameStruct.LevelExp exp = ConfigManager.Instance().GetLevelExp(GameStruct.LevelExp.LEVELEXP_ROLE, GetBaseAttr().level);
            if (exp != null)
            {
                _exp = exp.exp;
            }
            GetBaseAttr().exp_max = _exp;
        }