using FL.Data; using XGame.Framework.Network; namespace FL.Network { public class UserInfoPushCtrl : MsgController { protected override void OnProcess(UserInfoPush message, object context) { PlayerData.Instance.UID = message.uuid; PlayerData.Instance.ServerId = message.sid; PlayerData.Instance.Name = message.name; PlayerData.Instance.HeadIcon = message.head; PlayerData.Instance.WXHeadIcon = message.wxhead; PlayerData.Instance.Level = message.level; PlayerData.Instance.Exp = message.exp; PlayerData.Instance.LastLoginTime = message.lastlogin; PlayerData.Instance.Recharge = message.money; } } }