瀏覽代碼

支付事件

cyzhao 3 年之前
父節點
當前提交
cdefb42a8c

+ 5 - 0
Gameserver/Amfphp/model/User/Enum_EventType.php

@@ -114,4 +114,9 @@ class Enum_EventType {
      * 言灵升级
      */
     const YanLingTuPo = 'YanLingTuPo';
+    
+    /*
+     * 支付成功
+     */
+    const PaySuccess = 'PaySuccess';
 }

+ 9 - 0
Gameserver/Amfphp/process/EventProc/NormalEventProc.php

@@ -195,4 +195,13 @@ class NormalEventProc {
         Resp::AddEvent(Enum_EventType::YanLingTuPo, $arg1, $arg2);
     }
     
+    /**
+     * 支付成功
+     * @param type $arg1
+     * @param type $arg2
+     */
+    public static function OnPaySuccess() {
+        Resp::AddEvent(Enum_EventType::PaySuccess, null, null);
+    }
+    
 }