Pārlūkot izejas kodu

fixed: 排名变化增加当前排名信息.

gwang 5 gadi atpakaļ
vecāks
revīzija
5a3a388815

+ 1 - 0
Gameserver/Amfphp/process/FightProc/PVPProc.php

@@ -377,6 +377,7 @@ class PVPProc {
             'R_A' => $R_A, #                                                    # 自己最新积分
             'R_B' => $R_B, #                                                    # 对手最新积分
             'rank_diff' => $myNewRank - $myOldRank, #                           # 自己的排名变化
+            'rank_new' => $myNewRank, #                                         # 最新排名
         );
         return Resp::ok($ret);                                                  # 返回
     }

+ 2 - 2
Gameserver/nbproject/private/private.xml

@@ -12,11 +12,11 @@
     </editor-bookmarks>
     <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
         <group>
-            <file>file:/E:/www/ylsj2019/Gameserver/Amfphp/configs/GameConfig.php</file>
+            <file>file:/E:/www/ylsj2019/Gameserver/Amfphp/process/UserProc.php</file>
             <file>file:/E:/www/ylsj2019/Gameserver/Amfphp/base/CmdCode.php</file>
             <file>file:/E:/www/ylsj2019/Gameserver/Amfphp/base/ErrCode.php</file>
+            <file>file:/E:/www/ylsj2019/Gameserver/Amfphp/process/FightProc/PVPProc.php</file>
             <file>file:/E:/www/ylsj2019/Gameserver/Amfphp/test.php</file>
-            <file>file:/E:/www/ylsj2019/Gameserver/Amfphp/main.php</file>
             <file>file:/E:/www/ylsj2019/Gameserver/Amfphp/process/FightProc.php</file>
             <file>file:/E:/www/ylsj2019/Gameserver/Amfphp/process/FightProc/SweepGatesProc.php</file>
         </group>