12345678910111213141516171819202122 |
- using FL.Data;
- using XGame.Framework.Network;
- namespace FL.Network
- {
- public class ActLongDanPushCtrl : MsgController<ActLongDanPush>
- {
- protected override void OnProcess(ActLongDanPush message, object context)
- {
- if (message != null)
- {
- DragonEggData.Instance.DragonTreasureId = message.treasureId;
- DragonEggData.Instance.DragonTreasureSocre = message.progress;
- DragonEggData.Instance.Level = message.level;
- DragonEggData.Instance.Exp = message.exp;
- DragonEggData.Instance.UpLvTime = (long)message.upLvTime * 1000;
- DragonEggData.Instance.WatchADCount = message.bill;
- DragonEggData.Instance.WatchADCdTime = (long)message.time*1000;
- }
- }
- }
- }
|