Эх сурвалжийг харах

修改表名称,(Ps.重新组织三级地图结构.)

gwang 4 жил өмнө
parent
commit
c4c5cef284

+ 40 - 8
Gameserver/Amfphp/configs/GameConfig.php

@@ -6,7 +6,7 @@ namespace loyalsoft;
 // 由CodeGenerator创建。
 // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
 // author: gwang 
-// 日期: 2020-12-14 09:58:03
+// 日期: 2021-02-20 11:02:03
 ////////////////////
 
 /**
@@ -508,6 +508,22 @@ class GameConfig {
         return self::get_hash_item('task_node', $itemid);
     }
 
+    /**
+     * 动作事件表
+     * @return \eventAction
+     */
+    public static function eventAction() {
+        static $a = null;
+        return self::initValue($a, 'eventAction');
+    }
+
+    /**
+     * @return \sm_eventAction eventAction item数据 
+     */
+    public static function eventAction_getItem($itemid) {
+        return self::get_hash_item('eventAction', $itemid);
+    }
+
     /**
      * 碎片
      * @return \segment
@@ -525,19 +541,19 @@ class GameConfig {
     }
 
     /**
-     * 
-     * @return \gate_world
+     * 关卡-区域表
+     * @return \gate_zone
      */
-    public static function gate_world() {
+    public static function gate_zone() {
         static $a = null;
-        return self::initValue($a, 'gate_world');
+        return self::initValue($a, 'gate_zone');
     }
 
     /**
-     * @return \sm_gate_world gate_world item数据 
+     * @return \sm_gate_zone gate_zone item数据 
      */
-    public static function gate_world_getItem($itemid) {
-        return self::get_hash_item('gate_world', $itemid);
+    public static function gate_zone_getItem($itemid) {
+        return self::get_hash_item('gate_zone', $itemid);
     }
 
     /**
@@ -684,6 +700,22 @@ class GameConfig {
         return self::get_hash_item('segment_byPinzhi', $quailty)->$itemType;
     }
 
+    /**
+     * 
+     * @return \npc
+     */
+    public static function npc() {
+        static $a = null;
+        return self::initValue($a, 'npc');
+    }
+
+    /**
+     * @return \sm_npc npc item数据 
+     */
+    public static function npc_getItem($itemid) {
+        return self::get_hash_item('npc', $itemid);
+    }
+
     /**
      * 活动: 在线礼包
      * @return \activity_onlinegift

+ 8 - 8
Gameserver/Amfphp/model/Const/GameConfig.php

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-02-09 16:40:23
+ // 日期: 2021-02-20 11:02:03
 ////////////////////
 
 /**
@@ -535,20 +535,20 @@ class GameConfig {
         return self::get_hash_item('segment', $itemid);
     }
     /**
-    * 
-    * @return \gate_world
+    * 关卡-区域表
+    * @return \gate_zone
     */
-    public static function gate_world()
+    public static function gate_zone()
     { 
         static $a = null; 
-        return self::initValue($a, 'gate_world');
+        return self::initValue($a, 'gate_zone');
     }
     /**
-    * @return \sm_gate_world gate_world item数据 
+    * @return \sm_gate_zone gate_zone item数据 
     */
-    public static function gate_world_getItem($itemid)
+    public static function gate_zone_getItem($itemid)
     { 
-        return self::get_hash_item('gate_world', $itemid);
+        return self::get_hash_item('gate_zone', $itemid);
     }
     /**
     * 神秘商城道具表-by goodstype

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_drop.php

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2020-12-31 16:24:42
+ // 日期: 2021-02-10 12:08:41
 ////////////////////
 
 

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_eventAction.php

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-02-08 17:06:10
+ // 日期: 2021-02-10 11:41:52
 ////////////////////
 
 

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_gate.php

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-02-04 15:33:18
+ // 日期: 2021-02-10 13:46:48
 ////////////////////
 
 

+ 2 - 2
Gameserver/Amfphp/model/Const/sm_gate_world.php → Gameserver/Amfphp/model/Const/sm_gate_zone.php

@@ -9,9 +9,9 @@
 
 
 /**
- * Static Model gate_world 
+ * Static Model gate_zone 关卡-区域表
  */
-class sm_gate_world
+class sm_gate_zone
 {
 
     /**

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_item_base.php

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-02-09 14:51:59
+ // 日期: 2021-02-10 13:57:55
 ////////////////////
 
 

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_item_taskcard.php

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-02-08 17:28:24
+ // 日期: 2021-02-10 14:01:15
 ////////////////////
 
 

+ 6 - 1
Gameserver/Amfphp/model/Const/sm_npc.php

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-02-08 09:53:27
+ // 日期: 2021-02-10 12:38:34
 ////////////////////
 
 
@@ -24,6 +24,11 @@ class sm_npc
     */
     public $name;
 
+    /**
+    * @var Int32 常驻建筑ID  
+    */
+    public $buildId;
+
     /**
     * @var Int32 地图关卡ID  
     */

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_taskcard_shop.php

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-02-05 15:33:23
+ // 日期: 2021-02-10 14:49:08
 ////////////////////