void _Packet(ScMazeSneak p) { if (p.result == 0) { //偷袭成功的时候需要重置状态 modulePVE.isSendWin = false; isSneakSuccess = false; modulePVE.reopenPanelType = PVEReOpenPanel.Labyrinth; p.CopyTo(ref sneakPlayerDetail); DispatchModuleEvent(EventSneakPlayer); } else { ShowErrorTip(10006, p.result); } }
public void OnSneakSettleOver() { lastSneakPlayer = null; sneakPlayerDetail = null; isSneakSuccess = false; }