少年修仙传客户端代码仓库
client_linchunjie
2018-08-20 b78c5de93222addd09a9c5a09900ab7c1a58fff5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System;
namespace TableConfig
{
    public partial class PlayerLVConfig : ConfigBase
    {
        public static Int64 GetExpByPlayerLv(int lv)
        {
            PlayerLVConfig cfg = ConfigManager.Instance.GetTemplate<PlayerLVConfig>(lv);
            if (cfg != null) {
                return (Int64)cfg.EXP1 * 100000000 + (Int64)cfg.EXP2;
            }
            return 0;
        }
    }
}