Class HighlightsController
- Namespace
- TaleWorlds.MountAndBlade
- Assembly
- TaleWorlds.MountAndBlade.dll
public class HighlightsController : MissionLogic, IMissionBehavior
- Inheritance
-
HighlightsController
- Implements
- Inherited Members
Constructors
HighlightsController()
public HighlightsController()
Properties
HighlightTypes
protected static List<HighlightsController.HighlightType> HighlightTypes { get; }
Property Value
IsAnyHighlightSaved
public bool IsAnyHighlightSaved { get; }
Property Value
IsHighlightsInitialized
public static bool IsHighlightsInitialized { get; }
Property Value
Methods
AddHighlightType(HighlightType)
public static void AddHighlightType(HighlightsController.HighlightType highlightType)
Parameters
highlightType
HighlightsController.HighlightType
AfterStart()
public override void AfterStart()
CanSaveHighlight(HighlightType, Vec3)
public bool CanSaveHighlight(HighlightsController.HighlightType highlightType, Vec3 position)
Parameters
highlightType
HighlightsController.HighlightTypeposition
Vec3
Returns
CanSeePosition(Vec3)
public bool CanSeePosition(Vec3 position)
Parameters
position
Vec3
Returns
GetHighlightTypeWithId(string)
public HighlightsController.HighlightType GetHighlightTypeWithId(string highlightId)
Parameters
highlightId
string
Returns
GetPlayerIsLookingAtPositionScore(Vec3)
public float GetPlayerIsLookingAtPositionScore(Vec3 position)
Parameters
position
Vec3
Returns
OnAgentRemoved(Agent, Agent, AgentState, KillingBlow)
public override void OnAgentRemoved(Agent affectedAgent, Agent affectorAgent, AgentState agentState, KillingBlow killingBlow)
Parameters
affectedAgent
AgentaffectorAgent
AgentagentState
AgentStatekillingBlow
KillingBlow
OnEndMission()
protected override void OnEndMission()
OnMissionTick(float)
public override void OnMissionTick(float dt)
Parameters
dt
float
OnScoreHit(Agent, Agent, WeaponComponentData, bool, bool, in Blow, in AttackCollisionData, float, float, float)
public override void OnScoreHit(Agent affectedAgent, Agent affectorAgent, WeaponComponentData attackerWeapon, bool isBlocked, bool isSiegeEngineHit, in Blow blow, in AttackCollisionData collisionData, float damagedHp, float hitDistance, float shotDifficulty)
Parameters
affectedAgent
AgentaffectorAgent
AgentattackerWeapon
WeaponComponentDataisBlocked
boolisSiegeEngineHit
boolblow
BlowcollisionData
AttackCollisionDatadamagedHp
floathitDistance
floatshotDifficulty
float
RemoveHighlights()
public static void RemoveHighlights()
SaveHighlight(Highlight)
public void SaveHighlight(HighlightsController.Highlight highlight)
Parameters
highlight
HighlightsController.Highlight
SaveHighlight(Highlight, Vec3)
public void SaveHighlight(HighlightsController.Highlight highlight, Vec3 position)
Parameters
highlight
HighlightsController.Highlightposition
Vec3
ShowSummary()
public void ShowSummary()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).