Explorar o código

灵宠探索区域

cyzhao hai 2 meses
pai
achega
535360d6e9
Modificáronse 83 ficheiros con 338 adicións e 101 borrados
  1. 37 3
      Gameserver/App/configs/GameConfig.php
  2. 35 3
      Gameserver/App/model/Const/GameConfig.php
  3. 1 1
      Gameserver/App/model/Const/sm_accumulaterecharge.php
  4. 1 1
      Gameserver/App/model/Const/sm_achieve_new.php
  5. 1 1
      Gameserver/App/model/Const/sm_activeTask.php
  6. 1 1
      Gameserver/App/model/Const/sm_activeTask_type.php
  7. 1 1
      Gameserver/App/model/Const/sm_active_day7_accumulate.php
  8. 1 1
      Gameserver/App/model/Const/sm_activepointreward.php
  9. 1 1
      Gameserver/App/model/Const/sm_activity.php
  10. 1 1
      Gameserver/App/model/Const/sm_activity_battlepass.php
  11. 1 1
      Gameserver/App/model/Const/sm_activity_battlepass_type.php
  12. 1 1
      Gameserver/App/model/Const/sm_activity_cashmall.php
  13. 1 1
      Gameserver/App/model/Const/sm_activity_day7.php
  14. 1 1
      Gameserver/App/model/Const/sm_activity_day7sign_newplayer.php
  15. 1 1
      Gameserver/App/model/Const/sm_activity_flipCardLottery_lineIds.php
  16. 1 1
      Gameserver/App/model/Const/sm_activity_flipcardlottery_accumulate.php
  17. 1 1
      Gameserver/App/model/Const/sm_activity_flipcardlottery_exchange.php
  18. 1 1
      Gameserver/App/model/Const/sm_activity_flipcardlottery_grandreward.php
  19. 1 1
      Gameserver/App/model/Const/sm_activity_lottery_tree.php
  20. 1 1
      Gameserver/App/model/Const/sm_activity_lotteryitem_exchange.php
  21. 1 1
      Gameserver/App/model/Const/sm_activity_lotterynum_accumulate.php
  22. 1 1
      Gameserver/App/model/Const/sm_activity_onlinegift.php
  23. 1 1
      Gameserver/App/model/Const/sm_activity_promopackinfo.php
  24. 1 1
      Gameserver/App/model/Const/sm_activity_promopackinfo_type.php
  25. 1 1
      Gameserver/App/model/Const/sm_announcement.php
  26. 1 1
      Gameserver/App/model/Const/sm_clientVersionHistory.php
  27. 1 1
      Gameserver/App/model/Const/sm_equip.php
  28. 1 1
      Gameserver/App/model/Const/sm_equip_compose.php
  29. 1 1
      Gameserver/App/model/Const/sm_equip_levelupgrade.php
  30. 1 1
      Gameserver/App/model/Const/sm_equip_position.php
  31. 1 1
      Gameserver/App/model/Const/sm_equip_power.php
  32. 1 1
      Gameserver/App/model/Const/sm_equip_suit.php
  33. 1 1
      Gameserver/App/model/Const/sm_errmsg.php
  34. 1 1
      Gameserver/App/model/Const/sm_evolve.php
  35. 1 1
      Gameserver/App/model/Const/sm_firstrecharge_reward.php
  36. 1 1
      Gameserver/App/model/Const/sm_fun_unlock.php
  37. 1 1
      Gameserver/App/model/Const/sm_gate.php
  38. 1 1
      Gameserver/App/model/Const/sm_gate_sbox.php
  39. 1 1
      Gameserver/App/model/Const/sm_gate_unlock.php
  40. 1 1
      Gameserver/App/model/Const/sm_gem.php
  41. 1 1
      Gameserver/App/model/Const/sm_gem_slotposition.php
  42. 6 1
      Gameserver/App/model/Const/sm_glc2.php
  43. 1 1
      Gameserver/App/model/Const/sm_globalsettings.php
  44. 1 1
      Gameserver/App/model/Const/sm_guide.php
  45. 1 1
      Gameserver/App/model/Const/sm_hero.php
  46. 1 1
      Gameserver/App/model/Const/sm_heroType_typeId.php
  47. 1 1
      Gameserver/App/model/Const/sm_heroattr.php
  48. 1 1
      Gameserver/App/model/Const/sm_item.php
  49. 1 1
      Gameserver/App/model/Const/sm_item_2023_box.php
  50. 1 1
      Gameserver/App/model/Const/sm_pet.php
  51. 77 0
      Gameserver/App/model/Const/sm_pet_area.php
  52. 77 0
      Gameserver/App/model/Const/sm_pet_area_level.php
  53. 1 1
      Gameserver/App/model/Const/sm_pet_compose.php
  54. 1 1
      Gameserver/App/model/Const/sm_pet_egg.php
  55. 5 5
      Gameserver/App/model/Const/sm_pet_exploreoutput.php
  56. 1 1
      Gameserver/App/model/Const/sm_pet_levelupgrade.php
  57. 1 1
      Gameserver/App/model/Const/sm_player_level.php
  58. 1 1
      Gameserver/App/model/Const/sm_plots.php
  59. 1 1
      Gameserver/App/model/Const/sm_predicate.php
  60. 1 1
      Gameserver/App/model/Const/sm_rank_fightpowerreward.php
  61. 1 1
      Gameserver/App/model/Const/sm_rank_passgatereward.php
  62. 1 1
      Gameserver/App/model/Const/sm_service_schedule.php
  63. 1 1
      Gameserver/App/model/Const/sm_shop.php
  64. 1 1
      Gameserver/App/model/Const/sm_shop_box.php
  65. 1 1
      Gameserver/App/model/Const/sm_shop_cash.php
  66. 1 1
      Gameserver/App/model/Const/sm_shop_daily.php
  67. 1 1
      Gameserver/App/model/Const/sm_shop_gategift.php
  68. 1 1
      Gameserver/App/model/Const/sm_shop_gold.php
  69. 1 1
      Gameserver/App/model/Const/sm_shop_junbei.php
  70. 1 1
      Gameserver/App/model/Const/sm_shop_monthcard.php
  71. 1 1
      Gameserver/App/model/Const/sm_shop_supply.php
  72. 1 1
      Gameserver/App/model/Const/sm_skills.php
  73. 1 1
      Gameserver/App/model/Const/sm_subfun_unlock.php
  74. 1 1
      Gameserver/App/model/Const/sm_sysmail.php
  75. 1 1
      Gameserver/App/model/Const/sm_token_PublicGift.php
  76. 1 1
      Gameserver/App/model/Const/sm_token_gift.php
  77. 1 1
      Gameserver/App/model/Const/sm_waveItem.php
  78. 1 1
      Gameserver/App/model/Const/sm_waves.php
  79. 1 1
      Gameserver/App/model/Const/sm_worldboss_demagereward.php
  80. 1 1
      Gameserver/App/model/Const/sm_worldboss_rankreward.php
  81. 6 0
      Gameserver/App/model/User/Info_Store.php
  82. 20 14
      Gameserver/App/model/User/Ins_ExploreArea.php
  83. 1 1
      Gameserver/App/process/StoreProc.php

+ 37 - 3
Gameserver/App/configs/GameConfig.php

@@ -3,9 +3,11 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-25 10:27:29
+ // 日期: 2025-04-01 09:54:07
 ////////////////////
 
+namespace loyalsoft;
+
 /**
  * 常量配置数据 
  */
@@ -1233,9 +1235,9 @@ class GameConfig {
     /**
     * @return \sm_pet_exploreoutput pet_exploreoutput item数据 
     */
-    public static function pet_exploreoutput_getItem($itemid)
+    public static function pet_exploreoutput_getItem($typeId, $qual)
     { 
-        return self::get_hash_item('pet_exploreoutput', $itemid);
+        return self::get_hash_item('pet_exploreoutput', "$typeId-$qual");
     }
     /**
     * 灵宠等级表
@@ -1286,6 +1288,38 @@ class GameConfig {
         return self::get_hash_item('pet_egg', $itemid);
     }
     /**
+    * 宠物探索区域表
+    * @return \pet_area_level
+    */
+    public static function pet_area_level()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'pet_area_level');
+    }
+    /**
+    * @return \sm_pet_area_level pet_area_level item数据 
+    */
+    public static function pet_area_level_getItem($areaId, $level)
+    { 
+        return self::get_hash_item('pet_area_level', "$areaId-$level");
+    }
+    /**
+    * 
+    * @return \pet_area
+    */
+    public static function pet_area()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'pet_area');
+    }
+    /**
+    * @return \sm_pet_area pet_area itemArray 
+    */
+    public static function pet_area_getItemArray($key)
+    { 
+        return self::get_hash_item('pet_area', $key);
+    }
+    /**
     * 当前版本(时间戳)
     * @return \ver
     */

+ 35 - 3
Gameserver/App/model/Const/GameConfig.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-25 10:27:29
+ // 日期: 2025-03-30 16:28:00
 ////////////////////
 
 /**
@@ -1233,9 +1233,9 @@ class GameConfig {
     /**
     * @return \sm_pet_exploreoutput pet_exploreoutput item数据 
     */
-    public static function pet_exploreoutput_getItem($itemid)
+    public static function pet_exploreoutput_getItem($typeId, $qual)
     { 
-        return self::get_hash_item('pet_exploreoutput', $itemid);
+        return self::get_hash_item('pet_exploreoutput', "$typeId-$qual");
     }
     /**
     * 灵宠等级表
@@ -1286,6 +1286,38 @@ class GameConfig {
         return self::get_hash_item('pet_egg', $itemid);
     }
     /**
+    * 宠物探索区域表
+    * @return \pet_area_level
+    */
+    public static function pet_area_level()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'pet_area_level');
+    }
+    /**
+    * @return \sm_pet_area_level pet_area_level item数据 
+    */
+    public static function pet_area_level_getItem($areaId, $level)
+    { 
+        return self::get_hash_item('pet_area_level', "$areaId-$level");
+    }
+    /**
+    * 
+    * @return \pet_area
+    */
+    public static function pet_area()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'pet_area');
+    }
+    /**
+    * @return \sm_pet_area pet_area itemArray 
+    */
+    public static function pet_area_getItemArray($key)
+    { 
+        return self::get_hash_item('pet_area', $key);
+    }
+    /**
     * 当前版本(时间戳)
     * @return \ver
     */

+ 1 - 1
Gameserver/App/model/Const/sm_accumulaterecharge.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-09-05 17:01:24
+ // 日期: 2024-12-18 15:24:39
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_achieve_new.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-07 18:24:29
+ // 日期: 2025-03-28 16:27:56
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activeTask.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-25 10:17:46
+ // 日期: 2025-03-28 16:27:56
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activeTask_type.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-25 10:17:46
+ // 日期: 2025-03-28 16:27:56
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_active_day7_accumulate.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-09-29 16:05:51
+ // 日期: 2025-03-28 16:27:55
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activepointreward.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-04-29 11:24:54
+ // 日期: 2024-12-18 15:24:39
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-15 18:51:58
+ // 日期: 2025-03-28 16:27:56
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity_battlepass.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-10-15 15:06:52
+ // 日期: 2024-12-18 15:24:40
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity_battlepass_type.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-10-15 15:06:52
+ // 日期: 2024-12-18 15:24:40
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity_cashmall.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-23 09:08:32
+ // 日期: 2025-01-24 14:40:20
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity_day7.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-25 10:28:17
+ // 日期: 2025-03-28 16:27:56
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity_day7sign_newplayer.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-11-28 09:13:30
+ // 日期: 2025-03-28 16:27:56
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity_flipCardLottery_lineIds.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-02-10 15:50:51
+ // 日期: 2025-03-28 16:27:53
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity_flipcardlottery_accumulate.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-02-13 17:23:33
+ // 日期: 2025-03-28 16:27:52
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity_flipcardlottery_exchange.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-02-14 14:17:32
+ // 日期: 2025-03-28 16:27:52
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity_flipcardlottery_grandreward.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-02-11 12:04:44
+ // 日期: 2025-03-28 16:27:53
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity_lottery_tree.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-09-11 14:37:02
+ // 日期: 2024-12-18 15:24:40
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity_lotteryitem_exchange.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-09-12 17:11:58
+ // 日期: 2024-12-18 15:24:40
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity_lotterynum_accumulate.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-09-11 14:53:30
+ // 日期: 2024-12-18 15:24:40
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity_onlinegift.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-24 09:26:44
+ // 日期: 2025-03-28 16:27:57
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity_promopackinfo.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-10-09 17:58:39
+ // 日期: 2024-12-18 15:24:40
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activity_promopackinfo_type.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-10-09 17:58:39
+ // 日期: 2024-12-18 15:24:40
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_announcement.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-24 15:28:46
+ // 日期: 2025-03-28 16:27:58
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_clientVersionHistory.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-07 18:24:30
+ // 日期: 2025-03-28 16:27:58
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_equip.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-21 16:11:36
+ // 日期: 2025-03-28 16:27:58
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_equip_compose.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-11-01 16:19:57
+ // 日期: 2024-12-18 15:24:41
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_equip_levelupgrade.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-24 14:26:34
+ // 日期: 2025-03-28 16:27:59
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_equip_position.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-17 10:29:52
+ // 日期: 2025-03-28 16:27:59
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_equip_power.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-26 15:18:38
+ // 日期: 2025-01-10 15:47:02
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_equip_suit.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-10-30 14:43:38
+ // 日期: 2024-12-18 15:24:42
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_errmsg.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-03 10:47:29
+ // 日期: 2025-03-28 16:27:59
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_evolve.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-06 16:42:30
+ // 日期: 2025-03-28 16:27:59
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_firstrecharge_reward.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-09-04 16:07:40
+ // 日期: 2024-12-18 15:24:42
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_fun_unlock.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-03 11:44:05
+ // 日期: 2025-03-28 16:27:59
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-14 16:22:01
+ // 日期: 2025-03-28 16:28:00
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_gate_sbox.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-07-24 15:35:47
+ // 日期: 2025-03-28 16:28:00
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_gate_unlock.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-14 16:22:01
+ // 日期: 2025-03-28 16:28:00
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_gem.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-24 14:10:31
+ // 日期: 2025-03-28 16:28:01
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_gem_slotposition.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-10-29 16:16:44
+ // 日期: 2024-12-18 15:24:43
 ////////////////////
 
 

+ 6 - 1
Gameserver/App/model/Const/sm_glc2.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-24 16:44:08
+ // 日期: 2025-03-28 16:28:01
 ////////////////////
 
 
@@ -118,5 +118,10 @@ class sm_glc2
     */
     public $Pet_BreedLocationUnlockInfo;
 
+    /**
+    * @var String 关卡解锁区域表  
+    */
+    public $Pet_ExploreArea_UnlockInfo;
+
 }
 

+ 1 - 1
Gameserver/App/model/Const/sm_globalsettings.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-24 11:52:15
+ // 日期: 2025-03-28 16:28:01
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_guide.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-31 16:36:04
+ // 日期: 2025-01-10 15:47:10
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_hero.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-24 16:00:40
+ // 日期: 2025-03-28 16:28:01
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_heroType_typeId.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-24 16:00:40
+ // 日期: 2025-03-28 16:28:01
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_heroattr.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-07 18:24:31
+ // 日期: 2025-03-28 16:28:01
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_item.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-25 10:08:15
+ // 日期: 2025-03-28 16:28:02
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_item_2023_box.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-07 14:15:10
+ // 日期: 2024-12-18 15:24:44
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_pet.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-20 15:09:41
+ // 日期: 2025-03-28 16:28:03
 ////////////////////
 
 

+ 77 - 0
Gameserver/App/model/Const/sm_pet_area.php

@@ -0,0 +1,77 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2025-03-28 16:27:58
+////////////////////
+
+
+/**
+ * Static Model pet_area 
+ */
+class sm_pet_area
+{
+
+    /**
+    * @var Int32 唯一 default(0) 
+    */
+    public $id;
+
+    /**
+    * @var Int32 实例id default(0) 
+    */
+    public $areaId;
+
+    /**
+    * @var String 区域名称  
+    */
+    public $name;
+
+    /**
+    * @var Int32 区域等级 default(0) 
+    */
+    public $level;
+
+    /**
+    * @var Int32 一个小时产出个数 default(0) 
+    */
+    public $output_num;
+
+    /**
+    * @var Int32 总产出时间  
+    */
+    public $output_time;
+
+    /**
+    * @var String 固定产出  
+    */
+    public $reward_fixed;
+
+    /**
+    * @var String 随机产出  
+    */
+    public $reward_extra;
+
+    /**
+    * @var Int32 派遣宠物个数 default(0) 
+    */
+    public $dispatchPetNum;
+
+    /**
+    * @var Int32 解锁区域玩家等级要求 default(0) 
+    */
+    public $unlockArea_userLv;
+
+    /**
+    * @var Int32 解锁区域金币要求 default(0) 
+    */
+    public $unlockArea_gold;
+
+    /**
+    * @var String 额外字段  
+    */
+    public $etc;
+
+}
+

+ 77 - 0
Gameserver/App/model/Const/sm_pet_area_level.php

@@ -0,0 +1,77 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2025-03-28 16:27:58
+////////////////////
+
+
+/**
+ * Static Model pet_area_level 宠物探索区域表
+ */
+class sm_pet_area_level
+{
+
+    /**
+    * @var Int32 唯一 default(0) 
+    */
+    public $id;
+
+    /**
+    * @var Int32 实例id default(0) 
+    */
+    public $areaId;
+
+    /**
+    * @var String 区域名称  
+    */
+    public $name;
+
+    /**
+    * @var Int32 区域等级 default(0) 
+    */
+    public $level;
+
+    /**
+    * @var Int32 一个小时产出个数 default(0) 
+    */
+    public $output_num;
+
+    /**
+    * @var Int32 总产出时间  
+    */
+    public $output_time;
+
+    /**
+    * @var String 固定产出  
+    */
+    public $reward_fixed;
+
+    /**
+    * @var String 随机产出  
+    */
+    public $reward_extra;
+
+    /**
+    * @var Int32 派遣宠物个数 default(0) 
+    */
+    public $dispatchPetNum;
+
+    /**
+    * @var Int32 解锁区域玩家等级要求 default(0) 
+    */
+    public $unlockArea_userLv;
+
+    /**
+    * @var Int32 解锁区域金币要求 default(0) 
+    */
+    public $unlockArea_gold;
+
+    /**
+    * @var String 额外字段  
+    */
+    public $etc;
+
+}
+

+ 1 - 1
Gameserver/App/model/Const/sm_pet_compose.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-17 16:37:28
+ // 日期: 2025-03-28 16:27:58
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_pet_egg.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-21 17:38:28
+ // 日期: 2025-03-28 16:27:58
 ////////////////////
 
 

+ 5 - 5
Gameserver/App/model/Const/sm_pet_exploreoutput.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-13 10:00:14
+ // 日期: 2025-03-28 16:27:58
 ////////////////////
 
 
@@ -19,17 +19,17 @@ class sm_pet_exploreoutput
     public $id;
 
     /**
-    * @var Int32 对应pet表里的type字段  
+    * @var Int32 对应pet表里的type字段 default(0) 
     */
     public $typeId;
 
     /**
-    * @var String 探索区域id集合  
+    * @var Int32 宠物品阶 default(0) 
     */
-    public $exploreAreaIds;
+    public $qual;
 
     /**
-    * @var String 1到11品阶的产出速度和时间  
+    * @var String 探索区域id,产出,时间;探索区域id,产出,时间  
     */
     public $exploreOutput;
 

+ 1 - 1
Gameserver/App/model/Const/sm_pet_levelupgrade.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-14 15:22:01
+ // 日期: 2025-03-28 16:28:04
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_player_level.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-30 14:53:34
+ // 日期: 2025-03-28 16:28:32
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_plots.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-07 11:39:07
+ // 日期: 2025-03-28 16:28:32
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_predicate.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-24 14:31:00
+ // 日期: 2025-03-28 16:28:32
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_rank_fightpowerreward.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-05-27 17:24:24
+ // 日期: 2024-12-18 15:24:45
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_rank_passgatereward.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-05-27 17:21:59
+ // 日期: 2024-12-18 15:24:46
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_service_schedule.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-07 18:24:33
+ // 日期: 2025-03-28 16:28:11
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_shop.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-14 09:51:58
+ // 日期: 2025-03-28 16:28:11
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_shop_box.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-04-17 10:49:26
+ // 日期: 2024-12-18 15:24:46
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_shop_cash.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-14 09:51:58
+ // 日期: 2025-03-28 16:28:11
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_shop_daily.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-03-20 15:21:17
+ // 日期: 2024-12-18 15:24:46
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_shop_gategift.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-03-20 15:21:17
+ // 日期: 2024-12-18 15:24:47
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_shop_gold.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-03-20 15:21:18
+ // 日期: 2024-12-18 15:24:47
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_shop_junbei.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-03-20 15:21:18
+ // 日期: 2024-12-18 15:24:47
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_shop_monthcard.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-04-24 14:44:52
+ // 日期: 2024-12-18 15:24:47
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_shop_supply.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-03-20 15:21:18
+ // 日期: 2024-12-18 15:24:48
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_skills.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-20 18:03:28
+ // 日期: 2025-03-28 16:28:32
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_subfun_unlock.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-09-09 18:06:13
+ // 日期: 2024-12-18 15:24:48
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_sysmail.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-23 16:06:19
+ // 日期: 2025-03-28 16:28:17
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_token_PublicGift.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-20 17:00:35
+ // 日期: 2024-12-18 15:24:49
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_token_gift.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-15 18:28:53
+ // 日期: 2025-03-28 16:28:04
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_waveItem.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-25 09:49:15
+ // 日期: 2025-03-28 16:28:32
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_waves.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-03-25 09:49:15
+ // 日期: 2025-03-28 16:28:32
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_worldboss_demagereward.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-02-20 17:53:21
+ // 日期: 2025-03-28 16:28:04
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_worldboss_rankreward.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-02-20 17:46:41
+ // 日期: 2025-03-28 16:28:04
 ////////////////////
 
 

+ 6 - 0
Gameserver/App/model/User/Info_Store.php

@@ -110,6 +110,12 @@ class Info_Store extends Object_ext {
      * @var type
      */
     public $breedEggLocation;
+    
+    /**
+     * 宠物探索区域
+     * @var type
+     */
+    public $exploreArea;
 
     public function initialize() {
         StoreProc::AddMultiItemInStore(glc()->Init_Packet_Items, "UsrInit");

+ 20 - 14
Gameserver/App/model/User/Ins_ExploreArea.php

@@ -9,29 +9,35 @@
 namespace loyalsoft;
 
 /**
- * Description of Ins_BreedEggSlot
+ * Description of Ins_ExploreArea
  *
  * @author c'y'zhao
  */
-class Ins_BreedEggSlot extends Object_ext{
+class Ins_ExploreArea extends Object_ext{
+    
     /**
-     * 坑位id
+     * 区域id
      */
-    public $uid = 0;       
+    public $areaId = 0;      
     
     /**
-     * 坑位上孵化的蛋
+     * 区域等级
      */
-    public $eggId = 0;       
+    public $level = 1;      
     
     /**
-     * 开始孵化时间
+     * 探索开始时间
+     */
+    public $startTs = 0;       
+    
+    /**
+     * 派遣宠物uid
      * @var type
      */
-    public $endTs = 0;
+    public $explorePetList = array();
     
     /**
-     * 是否解锁 0:没有
+     * 未解锁
      * @var type
      */
     public $unlock = 0;
@@ -52,9 +58,9 @@ class Ins_BreedEggSlot extends Object_ext{
      * 配置
      * @return sm_pet_egg
      */
-    public function mo() {
-        $mo = GameConfig::pet_egg_getItem($this->eggId);
-        my_Assert(null != $mo, ErrCode::err_const_no);
-        return $mo;
-    }
+//    public function mo() {
+//        $mo = GameConfig::pet_egg_getItem($this->eggId);
+//        my_Assert(null != $mo, ErrCode::err_const_no);
+//        return $mo;
+//    }
 }

+ 1 - 1
Gameserver/App/process/StoreProc.php

@@ -535,7 +535,7 @@ class StoreProc {
         $qual = $ins_pet->qual + 1;
         if ($ins_pet->qual < 4) {
             //$newEquipTypeId = substr($ins_pet->typeId, 0, strlen($ins_equip->typeId) - 5);
-            $rarity = substr($ins_pet->typeId, -3);
+            $rarity = substr($ins_pet->typeId, -2);
             $mo = GameConfig::pet_getItem($ins_pet->typeId);
             $newPetTypeId = $mo->type. "0" . $qual . $rarity;
         }