public void SetLevel(byte Level) { CurrentXp = WorldMgr.GetXp_Info(Level); _Value.Level = Level; if (_Loaded) { SendLevelUp(ApplyLevel()); SendXp(); } ApplyLevel(); }
public void SetLevel(byte NewLevel) { CurrentXp = WorldMgr.GetXp_Info(NewLevel); _Value.Level = NewLevel; Dictionary <byte, UInt16> Values = ApplyLevel(); if (_Loaded && _Inited) { SendLevelUp(Values); SendXp(); } ApplyLevel(); }