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

Inherits TaleWorlds.MountAndBlade.MissionObject.

Public Member Functions

delegate void VolumeBoxDelegate (VolumeBox volumeBox, List< Agent > agentsInVolume)
 
void AddToCheckList (Agent agent)
 
void RemoveFromCheckList (Agent agent)
 
void SetIsOccupiedDelegate (VolumeBoxDelegate volumeBoxDelegate)
 
IEnumerable< AgentGetAgentsIn (Predicate< Agent > predicate)
 
IEnumerable< AgentGetAgentsIn ()
 
bool HasAgentsIn (Predicate< Agent > predicate)
 
bool HasAgentsIn ()
 
bool IsPointIn (Vec3 point)
 
- 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 ()
 

Additional Inherited Members

- 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
 
- 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]
 

Member Function Documentation

◆ VolumeBoxDelegate()

delegate void TaleWorlds.MountAndBlade.VolumeBox.VolumeBoxDelegate ( VolumeBox  volumeBox,
List< Agent agentsInVolume 
)

◆ AddToCheckList()

void TaleWorlds.MountAndBlade.VolumeBox.AddToCheckList ( Agent  agent)

◆ RemoveFromCheckList()

void TaleWorlds.MountAndBlade.VolumeBox.RemoveFromCheckList ( Agent  agent)

◆ SetIsOccupiedDelegate()

void TaleWorlds.MountAndBlade.VolumeBox.SetIsOccupiedDelegate ( VolumeBoxDelegate  volumeBoxDelegate)

◆ GetAgentsIn() [1/2]

IEnumerable< Agent > TaleWorlds.MountAndBlade.VolumeBox.GetAgentsIn ( Predicate< Agent predicate)

◆ GetAgentsIn() [2/2]

IEnumerable< Agent > TaleWorlds.MountAndBlade.VolumeBox.GetAgentsIn ( )

◆ HasAgentsIn() [1/2]

bool TaleWorlds.MountAndBlade.VolumeBox.HasAgentsIn ( Predicate< Agent predicate)

◆ HasAgentsIn() [2/2]

bool TaleWorlds.MountAndBlade.VolumeBox.HasAgentsIn ( )

◆ IsPointIn()

bool TaleWorlds.MountAndBlade.VolumeBox.IsPointIn ( Vec3  point)