public static void AddExp(int add) { var pinfo = ServerData.Instance.playerInfo; pinfo.Exp += add; var push = GCPushExpChange.CreateBuilder(); push.Exp = pinfo.Exp; ServerBundle.SendImmediatePush(push); }
public static void UpdateExp(GCPushExpChange p) { ObjectManager.objectManager.GetMyAttr().SetExp(p.Exp); }