| | |
| | | public int viewPlayerType { get; private set; }
|
| | |
|
| | | private Dictionary<int, ViewPlayerData> viewPlayerDataDic = new Dictionary<int, ViewPlayerData>();
|
| | | private Dictionary<int, ulong> funcFightPowerDict = new Dictionary<int, ulong>();
|
| | | private Dictionary<int, long> funcFightPowerDict = new Dictionary<int, long>();
|
| | | public event Action PowerUpdate;
|
| | | public static Action<int, int, ViewPlayerData> OnRevPackage; //尽量不要用第一个参数viewtype做判断,容易出错
|
| | |
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | public ulong GetFuncFightPower(int type)
|
| | | public long GetFuncFightPower(int type)
|
| | | {
|
| | | if (funcFightPowerDict.ContainsKey(type))
|
| | | {
|