|
@@ -7,8 +7,6 @@ namespace FL.Network
|
|
|
{
|
|
|
protected override void OnProcess(UserInfoPush message, object context)
|
|
|
{
|
|
|
- if (message == null) return;
|
|
|
-
|
|
|
PlayerData.Instance.UID = message.uuid;
|
|
|
PlayerData.Instance.ServerId = message.sid;
|
|
|
PlayerData.Instance.Name = message.name;
|
|
@@ -16,7 +14,7 @@ namespace FL.Network
|
|
|
PlayerData.Instance.WXHeadIcon = message.wxhead;
|
|
|
PlayerData.Instance.Level = message.level;
|
|
|
PlayerData.Instance.Exp = message.exp;
|
|
|
- PlayerData.Instance.LastLoginTime = (long)message.lastlogin*1000;
|
|
|
+ PlayerData.Instance.LastLoginTime = message.lastlogin;
|
|
|
PlayerData.Instance.Recharge = message.money;
|
|
|
}
|
|
|
}
|