UserInfoMoneyPushCtrl.cs 397 B

12345678910111213141516
  1. using FL.Data;
  2. using XGame.Framework.Network;
  3. namespace FL.Network
  4. {
  5. public class UserInfoMoneyPushCtrl : MsgController<UserInfoMoneyPush>
  6. {
  7. protected override void OnProcess(UserInfoMoneyPush message, object context)
  8. {
  9. if (message?.money != null)
  10. {
  11. PlayerData.Instance.Recharge = message.money;
  12. }
  13. }
  14. }
  15. }