/// <summary> /// 保存玩家状态 /// </summary> private void SetPlayerState(PlayerAIState pas) { if (pas == m_PlayerAIState) { return; } m_PlayerAIState = pas; }
private void SendMSAIBossMsgNotify(ulong npcid, PlayerAIState state) { MSG_MSAIBoss_Info info = new MSG_MSAIBoss_Info(); info.aiState = m_AIBossState[npcid].m_AIPlotState; info.playerState = state; GameFacade.Instance.SendNotification(NotificationName.AIPlotState_Change, info); Triggle(npcid); }