Browse Source

fixed: 语法兼容5.6

gwang 4 years ago
parent
commit
01c756bc63

+ 1 - 1
Gameserver/Amfphp/model/User/Enum_TaskCmdType.php

@@ -32,7 +32,7 @@ class Enum_TaskCmdType extends Enum {
     const KillMonster = 201;                                                    # 击杀怪物 (num:数量,paras:[怪物id])
     const KillMonster = 201;                                                    # 击杀怪物 (num:数量,paras:[怪物id])
     const GainItem = 202;                                                       # 获得道具 (num:数量,paras:[道具id]
     const GainItem = 202;                                                       # 获得道具 (num:数量,paras:[道具id]
     const PlotOver = 203;                                                       # 对话结束 (num:1,paras:[gateid,stage]
     const PlotOver = 203;                                                       # 对话结束 (num:1,paras:[gateid,stage]
-    const BuyTaskCard_Num = 204;                                                # 购买任务卡_带数量(num:数量,paras:[taskCardId])
+    const BuyTaskCard_Num = 204;                                                # 购买任务卡_带数量(num:数量,paras:[])
     const FinishTaskCard_ID = 205;                                              # 完成任务_指定id(num:1,paras:[taskCardId])
     const FinishTaskCard_ID = 205;                                              # 完成任务_指定id(num:1,paras:[taskCardId])
     const DrawSysMail_ID = 206;                                                 # 领取系统邮件_指定id(num:1,paras:[邮件id])
     const DrawSysMail_ID = 206;                                                 # 领取系统邮件_指定id(num:1,paras:[邮件id])
 
 

+ 2 - 2
Gameserver/Amfphp/model/User/Info_PrivateState.php

@@ -94,13 +94,13 @@ class Info_PrivateState extends Object_ext {
      * 角标通知缓存
      * 角标通知缓存
      * @var array[int]
      * @var array[int]
      */
      */
-    public $cornerSignNotifications = [];
+    public $cornerSignNotifications = array();
 
 
     /**
     /**
      * 已解锁建筑
      * 已解锁建筑
      * @var array[int]
      * @var array[int]
      */
      */
-    public $unlockedBuild = [1002];
+    public $unlockedBuild = array(1002);
 
 
 // <editor-fold defaultstate="collapsed" desc="    初始化    ">
 // <editor-fold defaultstate="collapsed" desc="    初始化    ">
 
 

+ 5 - 1
Gameserver/nbproject/private/private.xml

@@ -12,8 +12,12 @@
     </editor-bookmarks>
     </editor-bookmarks>
     <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
     <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
         <group>
         <group>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/test.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Info_PrivateState.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Info_PrivateState.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/EventProc/NormalEventProc.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/HeroProc.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/StoreProc.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/TaskProc.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/EventProc.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Info_Map.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Info_Map.php</file>
         </group>
         </group>
     </open-files>
     </open-files>