|
@@ -42,6 +42,12 @@ public class PKGameSettleView : MonoBehaviour
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
AudioMgr.ins.PlayWin();
|
|
AudioMgr.ins.PlayWin();
|
|
|
|
|
+ if (GlobalData.pkMatchType == PKMatchType.OnlinePK) {
|
|
|
|
|
+ PKGameMode_OnlinePK gm = (PKGameMode_OnlinePK)gameMode;
|
|
|
|
|
+ string res = results[gm.myPlayerIndex];
|
|
|
|
|
+ int score = res == "胜利" ? 20 : 10;
|
|
|
|
|
+ UserPlayer.ins.call("rankComp.uploadGameScore", GameMgr.gameType, score);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public void GoHome() {
|
|
public void GoHome() {
|