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
highlightTypeHighlightsController.HighlightType
AfterStart()
public override void AfterStart()
CanSaveHighlight(HighlightType, Vec3)
public bool CanSaveHighlight(HighlightsController.HighlightType highlightType, Vec3 position)
Parameters
highlightTypeHighlightsController.HighlightTypepositionVec3
Returns
CanSeePosition(Vec3)
public bool CanSeePosition(Vec3 position)
Parameters
positionVec3
Returns
GetHighlightTypeWithId(string)
public HighlightsController.HighlightType GetHighlightTypeWithId(string highlightId)
Parameters
highlightIdstring
Returns
GetPlayerIsLookingAtPositionScore(Vec3)
public float GetPlayerIsLookingAtPositionScore(Vec3 position)
Parameters
positionVec3
Returns
OnAgentRemoved(Agent, Agent, AgentState, KillingBlow)
public override void OnAgentRemoved(Agent affectedAgent, Agent affectorAgent, AgentState agentState, KillingBlow killingBlow)
Parameters
affectedAgentAgentaffectorAgentAgentagentStateAgentStatekillingBlowKillingBlow
OnEndMission()
protected override void OnEndMission()
OnMissionTick(float)
public override void OnMissionTick(float dt)
Parameters
dtfloat
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
affectedAgentAgentaffectorAgentAgentattackerWeaponWeaponComponentDataisBlockedboolisSiegeEngineHitboolblowBlowcollisionDataAttackCollisionDatadamagedHpfloathitDistancefloatshotDifficultyfloat
RemoveHighlights()
public static void RemoveHighlights()
SaveHighlight(Highlight)
public void SaveHighlight(HighlightsController.Highlight highlight)
Parameters
highlightHighlightsController.Highlight
SaveHighlight(Highlight, Vec3)
public void SaveHighlight(HighlightsController.Highlight highlight, Vec3 position)
Parameters
highlightHighlightsController.HighlightpositionVec3
ShowSummary()
public void ShowSummary()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).