Selaa lähdekoodia

修改首充活动模块信息同步

huangyuhao80 2 viikkoa sitten
vanhempi
commit
a20f405dd1
2 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 4 0
      meta/userapi/lua/ActFirstRecharge.lua
  2. 1 0
      meta/userapi/lua/QFunction-0.lua

+ 4 - 0
meta/userapi/lua/ActFirstRecharge.lua

@@ -139,6 +139,10 @@ function ActFirstRecharge.sendModuleInfo(actor)
139 139
     end
140 140
 end
141 141
 
142
+function ActFirstRecharge.login(actor)
143
+    ActFirstRecharge.sendModuleInfo(actor)
144
+end
145
+
142 146
 --TODO 一定要放到文件最后
143 147
 EventListerTable.registerType("首充活动", _rechargeType(), _playerDbKey())
144 148
 --注册充值事件

+ 1 - 0
meta/userapi/lua/QFunction-0.lua

@@ -717,6 +717,7 @@ function login(play)
717 717
     gameDebug.debug(Transaction.onLoginEnd, play)
718 718
     gameDebug.debug(Hook.onLoginEnd, play)
719 719
     -- gameDebug.debug( OperationalActivities.openActive, play)
720
+    gameDebug.debug(ActFirstRecharge.login, play)
720 721
     gameDebug.debug(ActMonthlyGrow.login, play)
721 722
 end
722 723