M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.WallSegment Class Reference

Inherits TaleWorlds.MountAndBlade.SynchedMissionObject, TaleWorlds.MountAndBlade.IPointDefendable, and TaleWorlds.MountAndBlade.ICastleKeyPosition.

Public Member Functions

Vec3 GetPosition ()
 
 WallSegment ()
 
void OnChooseUsedWallSegment (bool isBroken)
 
- Public Member Functions inherited from TaleWorlds.MountAndBlade.SynchedMissionObject
override TickRequirement GetTickRequirement ()
 
void SetLocalPositionSmoothStep (ref Vec3 targetPosition)
 
virtual void SetVisibleSynched (bool value, bool forceChildrenVisible=false)
 
virtual void SetPhysicsStateSynched (bool value, bool setChildren=true)
 
virtual void SetDisabledSynched ()
 
void SetFrameSynched (ref MatrixFrame frame, bool isClient=false)
 
void SetGlobalFrameSynched (ref MatrixFrame frame, bool isClient=false)
 
void SetFrameSynchedOverTime (ref MatrixFrame frame, float duration, bool isClient=false)
 
void SetGlobalFrameSynchedOverTime (ref MatrixFrame frame, float duration, bool isClient=false)
 
void SetAnimationAtChannelSynched (string animationName, int channelNo, float animationSpeed=1.0f)
 
void SetAnimationAtChannelSynched (int animationIndex, int channelNo, float animationSpeed=1.0f)
 
void SetAnimationChannelParameterSynched (int channelNo, float parameter)
 
void PauseSkeletonAnimationSynched ()
 
void ResumeSkeletonAnimationSynched ()
 
void BurstParticlesSynched (bool doChildren=true)
 
void ApplyImpulseSynched (Vec3 localPosition, Vec3 impulse)
 
void AddBodyFlagsSynched (BodyFlags flags, bool applyToChildren=true)
 
void RemoveBodyFlagsSynched (BodyFlags flags, bool applyToChildren=true)
 
void SetTeamColors (uint color, uint color2)
 
virtual void SetTeamColorsSynched (uint color, uint color2)
 
virtual bool ReadFromNetwork ()
 
virtual void WriteToNetwork ()
 
- Public Member Functions inherited from TaleWorlds.MountAndBlade.MissionObject
 MissionObject ()
 
virtual void SetAbilityOfFaces (bool enabled)
 
override int GetHashCode ()
 
virtual void AfterMissionStart ()
 
void SetDisabled (bool isParentObject=false)
 Only disables the mission object script and removes it from active mission objects list but the object entity remains visible with active physics More...
 
void SetDisabledAndMakeInvisible (bool isParentObject=false)
 Mission object is disabled and removed from active mission objects list, its entity is made invisible and therefore its physics is turned off More...
 
virtual void OnEndMission ()
 
virtual void AddStuckMissile (GameEntity missileEntity)
 
- Public Member Functions inherited from TaleWorlds.Engine.ScriptComponentBehavior
void SetScriptComponentToTick (TickRequirement value)
 
void SetScriptComponentToTickMT (TickRequirement value)
 
virtual TickRequirement GetTickRequirement ()
 
Vec3 GetPosition ()
 

Public Attributes

string SideTag
 

Properties

TacticalPosition MiddlePosition [get]
 
TacticalPosition WaitPosition [get]
 
TacticalPosition AttackerWaitPosition = null [get]
 
IPrimarySiegeWeapon AttackerSiegeWeapon [get, set]
 
IEnumerable< DefencePointDefencePoints [get, protected set]
 
bool IsBreachedWall = false [get]
 
WorldFrame MiddleFrame [get]
 
WorldFrame DefenseWaitFrame [get]
 
WorldFrame AttackerWaitFrame = WorldFrame.Invalid [get]
 
FormationAI.BehaviorSide DefenseSide [get]
 
- Properties inherited from TaleWorlds.MountAndBlade.SynchedMissionObject
uint Color [get]
 
uint Color2 [get]
 
bool SynchronizeCompleted [get]
 
- Properties inherited from TaleWorlds.MountAndBlade.MissionObject
MissionObjectId Id [get, set]
 
bool IsDisabled [get]
 
bool CreatedAtRuntime [get]
 
- Properties inherited from TaleWorlds.Engine.ScriptComponentBehavior
GameEntity GameEntity [get]
 
ManagedScriptComponent ScriptComponent [get]
 
ManagedScriptHolder ManagedScriptHolder [get]
 
Scene Scene [get]
 
- Properties inherited from TaleWorlds.MountAndBlade.IPointDefendable
IEnumerable< DefencePointDefencePoints [get]
 
FormationAI.BehaviorSide DefenseSide [get]
 
WorldFrame MiddleFrame [get]
 
WorldFrame DefenseWaitFrame [get]
 
- Properties inherited from TaleWorlds.MountAndBlade.ICastleKeyPosition
IPrimarySiegeWeapon AttackerSiegeWeapon [get, set]
 
TacticalPosition MiddlePosition [get]
 
TacticalPosition WaitPosition [get]
 
WorldFrame MiddleFrame [get]
 
WorldFrame DefenseWaitFrame [get]
 
FormationAI.BehaviorSide DefenseSide [get]
 

Additional Inherited Members

- Public Types inherited from TaleWorlds.MountAndBlade.SynchedMissionObject
enum  SynchFlags : uint
 
- Public Types inherited from TaleWorlds.Engine.ScriptComponentBehavior
enum  TickRequirement : uint
 
- Protected Member Functions inherited from TaleWorlds.MountAndBlade.MissionObject
virtual void AttachDynamicNavmeshToEntity ()
 
virtual GameEntity GetEntityToAttachNavMeshFaces ()
 
override void OnRemoved (int removeReason)
 
- Protected Member Functions inherited from TaleWorlds.Engine.ScriptComponentBehavior
void InvalidateWeakPointersIfValid ()
 
 ScriptComponentBehavior ()
 
virtual void OnRemoved (int removeReason)
 
- Protected Attributes inherited from TaleWorlds.MountAndBlade.MissionObject
string NavMeshPrefabName = ""
 
int DynamicNavmeshIdStart = 0
 
- Static Protected Attributes inherited from TaleWorlds.MountAndBlade.MissionObject
const int InsideNavMeshIdLocal = 1
 
const int EnterNavMeshIdLocal = 2
 
const int ExitNavMeshIdLocal = 3
 
const int BlockerNavMeshIdLocal = 4
 
const int ExtraNavMesh1IdLocal = 5
 
const int ExtraNavMesh2IdLocal = 6
 
const int ExtraNavMesh3IdLocal = 7
 

Constructor & Destructor Documentation

◆ WallSegment()

TaleWorlds.MountAndBlade.WallSegment.WallSegment ( )

Member Function Documentation

◆ GetPosition()

Vec3 TaleWorlds.MountAndBlade.WallSegment.GetPosition ( )

◆ OnChooseUsedWallSegment()

void TaleWorlds.MountAndBlade.WallSegment.OnChooseUsedWallSegment ( bool  isBroken)

Member Data Documentation

◆ SideTag

string TaleWorlds.MountAndBlade.WallSegment.SideTag

Property Documentation

◆ MiddlePosition

TacticalPosition TaleWorlds.MountAndBlade.WallSegment.MiddlePosition
get

◆ WaitPosition

TacticalPosition TaleWorlds.MountAndBlade.WallSegment.WaitPosition
get

◆ AttackerWaitPosition

TacticalPosition TaleWorlds.MountAndBlade.WallSegment.AttackerWaitPosition = null
get

◆ AttackerSiegeWeapon

IPrimarySiegeWeapon TaleWorlds.MountAndBlade.WallSegment.AttackerSiegeWeapon
getset

◆ DefencePoints

IEnumerable<DefencePoint> TaleWorlds.MountAndBlade.WallSegment.DefencePoints
getprotected set

◆ IsBreachedWall

bool TaleWorlds.MountAndBlade.WallSegment.IsBreachedWall = false
get

◆ MiddleFrame

WorldFrame TaleWorlds.MountAndBlade.WallSegment.MiddleFrame
get

◆ DefenseWaitFrame

WorldFrame TaleWorlds.MountAndBlade.WallSegment.DefenseWaitFrame
get

◆ AttackerWaitFrame

WorldFrame TaleWorlds.MountAndBlade.WallSegment.AttackerWaitFrame = WorldFrame.Invalid
get

◆ DefenseSide

FormationAI.BehaviorSide TaleWorlds.MountAndBlade.WallSegment.DefenseSide
get