M&B: Bannerlord 1.3.14
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Engine Namespace Reference

Namespaces

namespace  InputSystem
namespace  Options
namespace  Screens
namespace  GauntletUI

Classes

struct  AnimResult
class  ApplicationHealthChecker
class  AsyncTask
class  PhysicsShape
struct  CapsuleData
struct  SphereData
struct  Intersection
struct  BoundingBox
class  Camera
class  ClothSimulatorComponent
class  CompositeComponent
class  CrashInformationCollector
class  Decal
class  EngineCallback
class  EngineController
class  EngineFilePaths
class  ScreenManagerEngineConnection
class  GameEntity
 Game Entity class. More...
class  GameEntityComponent
struct  VolumeDataForSubmergeComputation
class  GameEntityPhysicsExtensions
class  GameEntityWithWorldPosition
class  Highlights
interface  ILoadingWindowManager
class  Imgui
class  JobManager
class  Job
class  Light
class  LoadingWindow
class  ManagedExtensions
struct  ScriptComponentFieldHolder
class  ManagedMeshEditOperations
class  ManagedScriptComponent
class  ManagedScriptHolder
class  Material
 Representation of the material in the Mono domain MBMaterial provides methods related to texture, shader, and other material properties. More...
class  HasTableauCache
class  MBDebug
class  Mesh
class  MeshBuilder
class  MessageManagerBase
class  MetaMesh
class  MouseManager
class  Music
class  NativeParallelDriver
class  NativeScriptComponent
class  NativeConfig
class  ParticleSystem
class  ParticleSystemManager
class  Path
class  PerformanceAnalyzer
class  PhysicsJoint
struct  PhysicsMaterial
struct  PhysicsContactInfo
struct  PhysicsContactPair
struct  PhysicsContact
class  RenderTargetComponent
class  Resource
struct  SceneInitializationData
class  Scene
class  SceneProblemChecker
class  SceneView
class  Screen
class  ScriptComponent
class  EditorVisibleScriptComponentVariable
class  ScriptComponentBehavior
class  Shader
 Representation of shader resource in Mono domain No means of shader copying is provided in this interface so all the accessor properties are read only. More...
class  SimpleButton
class  Skeleton
class  SoundEvent
 Defines any sound instance, used with events. More...
struct  SoundEventParameter
 Defines sound parameter for FMOD events. More...
class  SoundManager
class  TableauView
class  Texture
 Representation of 2D texture resource in Mono domain No means of texture copying is provided in this interface so all the accessor properties are read only. More...
class  TextureView
class  ThumbnailCreatorView
struct  ThumbnailRenderRequest
class  Time
class  TwoDimensionView
struct  TwoDimensionMeshDrawData
struct  TwoDimensionTextMeshDrawData
class  Utilities
class  VideoPlayerView
class  View
struct  WeakGameEntity
struct  WeakMaterial
struct  WorldFrame
struct  WorldPosition
class  EngineExtensions

Enumerations

enum  IntersectionDetails : UInt32 {
  None ,
  Sphere ,
  Plane ,
  Capsule ,
  Box ,
  Convexmesh ,
  Trianglemesh ,
  Heightfield
}
enum  IntersectionType : UInt32 {
  Body ,
  Terrain ,
  Invalid
}
enum  EntityFlags : uint {
  ForceLodMask = 0x000000f0 ,
  ForceLodBits = 4 ,
  NoOcclusionCulling = 0x00000200 ,
  IsHelper = 0x00000400 ,
  ComputePerComponentLod = 0x00000800 ,
  DoesNotAffectParentsLocalBb = 0x00001000 ,
  ForceAsStatic = 0x00002000 ,
  HideInPrefabEditors = 0x00004000 ,
  PhysicsDisabled = 0x00008000 ,
  AlignToTerrain = 0x00010000 ,
  DontSaveToScene = 0x00020000 ,
  RecordToSceneReplay = 0x00040000 ,
  AffectedByEnvironmentDecals = 0x00080000 ,
  SmoothLodTransitions = 0x00100000 ,
  DontCheckHandness = 0x00200000 ,
  NotAffectedBySeason = 0x00400000 ,
  DontTickChildren = 0x00800000 ,
  WaitUntilReady = 0x01000000 ,
  NonModifiableFromEditor = 0x02000000 ,
  PrefabCannotBeBroken = 0x04000000 ,
  PerComponentVisibility = 0x08000000 ,
  Ignore = 0x10000000 ,
  DoNotTick = 0x20000000 ,
  DoNotRenderToEnvmap = 0x40000000 ,
  AlignRotationToTerrain = 0x80000000
}
 This enum has one to one correspondence with enum rglEntity_flags in rglEntity.h. More...
enum  EntityVisibilityFlags : uint {
  None = 0x00000000 ,
  VisibleOnlyWhenEditing = 0x00000002 ,
  NoShadow = 0x00000004 ,
  VisibleOnlyForEnvmap = 0x00000008 ,
  NotVisibleForEnvmap = 0x00000010
}
enum  BodyFlags : uint {
  None = 0x00000000 ,
  Disabled = 0x00000001 ,
  NotDestructible = 0x00000002 ,
  TwoSided = 0x00000004 ,
  Dynamic = 0x00000008 ,
  Moveable = 0x00000010 ,
  DynamicConvexHull = 0x00000020 ,
  Ladder = 0x00000040 ,
  OnlyCollideWithRaycast = 0x00000080 ,
  AILimiter = 0x00000100 ,
  Barrier = 0x00000200 ,
  Barrier3D = 0x00000400 ,
  HasSteps = 0x00000800 ,
  Ragdoll = 0x00001000 ,
  RagdollLimiter = 0x00002000 ,
  DestructibleDoor = 0x00004000 ,
  DroppedItem = 0x00008000 ,
  DoNotCollideWithRaycast = 0x00010000 ,
  DontTransferToPhysicsEngine = 0x00020000 ,
  DontCollideWithCamera = 0x00040000 ,
  ExcludePathSnap = 0x00080000 ,
  WaterBody = 0x00100000 ,
  AfterAddFlags = 0 ,
  AgentOnly = 0x00200000 ,
  MissileOnly = 0x00400000 ,
  HasMaterial = 0x00800000 ,
  IgnoreSoundOcclusion = 0x10000000 ,
  StealthBox = 0x20000000 ,
  Sinking = 0x40000000 ,
  FloatingDebris = 0x80000000 ,
  BodyFlagFilter = 0xf0ffffff ,
  BodyOwnerNone = 0x00000000 ,
  BodyOwnerEntity = 0x01000000 ,
  BodyOwnerTerrain = 0x02000000 ,
  BodyOwnerFlora = 0x04000000 ,
  BodyOwnerFilter = 0x0f000000 ,
  CommonCollisionExcludeFlags = Disabled | Ragdoll | RagdollLimiter | AILimiter | DroppedItem | Dynamic | OnlyCollideWithRaycast | AgentOnly | MissileOnly | DoNotCollideWithRaycast | WaterBody | StealthBox ,
  CameraCollisionRayCastExludeFlags = CommonCollisionExcludeFlags | Barrier | Barrier3D | Ladder ,
  CommonCollisionExcludeFlagsForAgent = CommonCollisionExcludeFlags & (~AgentOnly) ,
  CommonCollisionExcludeFlagsForMissile = (CommonCollisionExcludeFlags | Barrier | Barrier3D) & (~MissileOnly) ,
  CommonCollisionExcludeFlagsForCombat = CommonCollisionExcludeFlags & (~MissileOnly) ,
  CommonCollisionExcludeFlagsForEditor = CommonCollisionExcludeFlags & (~MissileOnly) ,
  CommonFlagsThatDoNotBlockRay = BodyFlagFilter & (~DroppedItem) & (~DestructibleDoor) & (~OnlyCollideWithRaycast) & (~Ladder) ,
  CommonFocusRayCastExcludeFlags = Disabled | Ragdoll | RagdollLimiter | AILimiter | Barrier | Barrier3D | DoNotCollideWithRaycast
}
 This enum has one to one correspondence with enum rglBody_flags in rglBody_part.h. More...
enum  FloaterVolumeDynamicUpAxis : byte {
  X = 0 ,
  Y ,
  Z
}
enum  RglScriptFieldType : int {
  RglSftInvalid = -1 ,
  RglSftString ,
  RglSftDouble ,
  RglSftFloat ,
  RglSftBool ,
  RglSftInt ,
  RglSftVec3 ,
  RglSftEntity ,
  RglSftTexture ,
  RglSftMesh ,
  RglSftEnum ,
  RglSftMaterial ,
  RglSftButton ,
  RglSftColor ,
  RglSftMatrixFrame
}
enum  MaterialFlags : uint {
  RenderFrontToBack = 0x00000001 ,
  NoDepthTest = 0x00000002 ,
  DontDrawToDepthRenderTarget = 0x00000004 ,
  NoModifyDepthBuffer = 0x00000008 ,
  CullFrontFaces = 0x00000010 ,
  TwoSided = 0x00000020 ,
  AlphaBlendSort = 0x00000040 ,
  DontOptimizeMesh = 0x00000080 ,
  DontCastShadow = 0x00000100 ,
  DisableStreaming = 0x00000200 ,
  BillboardNone = 0x00000000 ,
  Billboard_2d = 0x00001000 ,
  Billboard_3d = 0x00002000 ,
  BillboardMask = 0x00003000 ,
  Skybox = 0x00020000 ,
  MultiPassAlpha = 0x00040000 ,
  GbufferAlphaBlend = 0x00080000 ,
  RequiresForwardRendering = 0x00100000 ,
  AvoidRecomputationOfNormals = 0x00200000 ,
  RenderOrderPlus_1 = 0x09000000 ,
  RenderOrderPlus_2 = 0x0a000000 ,
  RenderOrderPlus_3 = 0x0b000000 ,
  RenderOrderPlus_4 = 0x0c000000 ,
  RenderOrderPlus_5 = 0x0d000000 ,
  RenderOrderPlus_6 = 0x0e000000 ,
  RenderOrderPlus_7 = 0x0f000000 ,
  GreaterDepthNoWrite = 0x10000000 ,
  AlwaysDepthTest = 0x20000000 ,
  RenderToAmbientOcclusionBuffer = 0x40000000
}
enum  MBMouseButtonState : int {
  Released ,
  Pressed
}
 State types of the mouse buttons. More...
enum  EditDataPolicy : sbyte {
  KeepInFile ,
  KeepUntilFirstRender
}
enum  MBMeshCullingMode : byte {
  None = 0 ,
  Backfaces = 1 ,
  Frontfaces = 2 ,
  Count ,
  Invalid
}
enum  BillboardType : byte {
  None = 0 ,
  Up = 1 ,
  Full = 2
}
enum  VisibilityMaskFlags : uint {
  Final = 0x00000001 ,
  ShadowStatic = 0x00000010 ,
  ShadowDynamic = 0x00000020 ,
  ForEnvmap = 0x00000040 ,
  EditModeAtmosphere = 0x10000000 ,
  EditModeLight = 0x20000000 ,
  EditModeParticleSystem = 0x40000000 ,
  EditModeHelpers = 0x80000000 ,
  EditModeTerrain = 0x01000000 ,
  EditModeGameEntity = 0x02000000 ,
  EditModeFloraEntity = 0x04000000 ,
  EditModeLayerFlora = 0x08000000 ,
  EditModeShadows = 0x00100000 ,
  EditModeBorders = 0x00200000 ,
  EditModeEditingEntity = 0x00400000 ,
  EditModeAnimations = 0x00800000 ,
  EditModeCubemapReflector = 0x00010000 ,
  EditModeDecals = 0x00020000 ,
  EditModeNavigation_mesh = 0x00040000 ,
  EditModeSound_entities = 0x00080000 ,
  EditModeWater = 0x00001000 ,
  EditModeIsolate_mode = 0x00002000 ,
  EditModeAny = 0xFFFFF000 ,
  Default = Final ,
  DefaultStatic = Default | ShadowStatic | ShadowDynamic ,
  DefaultDynamic = Default | ShadowDynamic ,
  DefaultStaticWithoutDynamic = Default | ShadowStatic
}
enum  InputLayout {
  Input_layout_regular = 0 ,
  Input_layout_normal_map = 1 ,
  Input_layout_skinning = 2 ,
  Input_layout_normal_map_skinning = 3 ,
  Input_layout_postfx = 4 ,
  Input_layout_regular_doubleuv = 5 ,
  Input_layout_normal_map_doubleuv = 6 ,
  Input_layout_skinning_doubleuv = 7 ,
  Input_layout_normal_map_skinning_doubleuv = 8 ,
  Num_of_input_layouts = 9
}
enum  TextFlags : int {
  RglTfNone = 0x00000000 ,
  RglTfHAlignLeft = 0x00000001 ,
  RglTfHAlignRight = 0x00000002 ,
  RglTfHAlignCenter = 0x00000003 ,
  RglTfVAlignTop = 0x00000004 ,
  RglTfVAlignDown = 0x00000008 ,
  RglTfVAlignCenter = 0x0000000c ,
  RglTfSingleLine = 0x00000010 ,
  RglTfMultiline = 0x00000020 ,
  RglTfItalic = 0x00000040 ,
  RglTfCutTextFromLeft = 0x00000080 ,
  RglTfDoubleSpace = 0x00000100 ,
  RglTfWithOutline = 0x00000200 ,
  RglTfHalfSpace = 0x00000400
}
enum  PhysicsMaterialFlags : byte {
  None = 0x0 ,
  DontStickMissiles = 0x01 ,
  Flammable = 0x02 ,
  RainSplashesEnabled = 0x04 ,
  AttacksCanPassThrough = 0x08
}
enum  PhysicsEventType : int {
  CollisionStart ,
  CollisionStay ,
  CollisionEnd
}
enum  DecalAtlasGroup : int {
  All ,
  Worldmap ,
  Battle ,
  Town ,
  Multiplayer ,
  Count
}
enum  RagdollState : ushort {
  Disabled = 0 ,
  NeedsActivation ,
  ActiveFirstTick ,
  Active ,
  NeedsDeactivation
}
enum  ZValidityState {
  Invalid ,
  BatchFormationUnitPosition ,
  ValidAccordingToNavMesh ,
  Valid
}

Functions

delegate string MaterialCacheIDGetMethodDelegate (object o)
delegate bool CheckForSceneProblemsDelegate (Scene scene)

Enumeration Type Documentation

◆ IntersectionDetails

Enumerator
None 
Sphere 
Plane 
Capsule 
Box 
Convexmesh 
Trianglemesh 
Heightfield 

◆ IntersectionType

Enumerator
Body 
Terrain 
Invalid 

◆ EntityFlags

Enumerator
ForceLodMask 
ForceLodBits 
NoOcclusionCulling 
IsHelper 
ComputePerComponentLod 
DoesNotAffectParentsLocalBb 
ForceAsStatic 
HideInPrefabEditors 
PhysicsDisabled 
AlignToTerrain 
DontSaveToScene 
RecordToSceneReplay 
AffectedByEnvironmentDecals 
SmoothLodTransitions 
DontCheckHandness 
NotAffectedBySeason 
DontTickChildren 
WaitUntilReady 
NonModifiableFromEditor 
PrefabCannotBeBroken 
PerComponentVisibility 
Ignore 
DoNotTick 
DoNotRenderToEnvmap 
AlignRotationToTerrain 

◆ EntityVisibilityFlags

Enumerator
None 
VisibleOnlyWhenEditing 
NoShadow 
VisibleOnlyForEnvmap 
NotVisibleForEnvmap 

◆ BodyFlags

Enumerator
None 
Disabled 
NotDestructible 
TwoSided 
Dynamic 
Moveable 
DynamicConvexHull 
Ladder 
OnlyCollideWithRaycast 
AILimiter 
Barrier 
Barrier3D 
HasSteps 
Ragdoll 
RagdollLimiter 
DestructibleDoor 
DroppedItem 
DoNotCollideWithRaycast 
DontTransferToPhysicsEngine 
DontCollideWithCamera 
ExcludePathSnap 
WaterBody 
AfterAddFlags 
AgentOnly 
MissileOnly 
HasMaterial 
IgnoreSoundOcclusion 
StealthBox 
Sinking 
FloatingDebris 
BodyFlagFilter 
BodyOwnerNone 
BodyOwnerEntity 
BodyOwnerTerrain 
BodyOwnerFlora 
BodyOwnerFilter 
CommonCollisionExcludeFlags 
CameraCollisionRayCastExludeFlags 
CommonCollisionExcludeFlagsForAgent 
CommonCollisionExcludeFlagsForMissile 
CommonCollisionExcludeFlagsForCombat 
CommonCollisionExcludeFlagsForEditor 
CommonFlagsThatDoNotBlockRay 
CommonFocusRayCastExcludeFlags 

◆ FloaterVolumeDynamicUpAxis

Enumerator

◆ RglScriptFieldType

Enumerator
RglSftInvalid 
RglSftString 
RglSftDouble 
RglSftFloat 
RglSftBool 
RglSftInt 
RglSftVec3 
RglSftEntity 
RglSftTexture 
RglSftMesh 
RglSftEnum 
RglSftMaterial 
RglSftButton 
RglSftColor 
RglSftMatrixFrame 

◆ MaterialFlags

Enumerator
RenderFrontToBack 
NoDepthTest 
DontDrawToDepthRenderTarget 
NoModifyDepthBuffer 
CullFrontFaces 
TwoSided 
AlphaBlendSort 
DontOptimizeMesh 
DontCastShadow 
DisableStreaming 
BillboardNone 
Billboard_2d 
Billboard_3d 
BillboardMask 
Skybox 
MultiPassAlpha 
GbufferAlphaBlend 
RequiresForwardRendering 
AvoidRecomputationOfNormals 
RenderOrderPlus_1 
RenderOrderPlus_2 
RenderOrderPlus_3 
RenderOrderPlus_4 
RenderOrderPlus_5 
RenderOrderPlus_6 
RenderOrderPlus_7 
GreaterDepthNoWrite 
AlwaysDepthTest 
RenderToAmbientOcclusionBuffer 

◆ MBMouseButtonState

Enumerator
Released 

Released state of button.

Pressed 

Pressed state of button.

◆ EditDataPolicy

Enumerator
KeepInFile 
KeepUntilFirstRender 

◆ MBMeshCullingMode

Enumerator
None 
Backfaces 
Frontfaces 
Count 
Invalid 

◆ BillboardType

Enumerator
None 
Up 
Full 

◆ VisibilityMaskFlags

Enumerator
Final 
ShadowStatic 
ShadowDynamic 
ForEnvmap 
EditModeAtmosphere 
EditModeLight 
EditModeParticleSystem 
EditModeHelpers 
EditModeTerrain 
EditModeGameEntity 
EditModeFloraEntity 
EditModeLayerFlora 
EditModeShadows 
EditModeBorders 
EditModeEditingEntity 
EditModeAnimations 
EditModeCubemapReflector 
EditModeDecals 
EditModeNavigation_mesh 
EditModeSound_entities 
EditModeWater 
EditModeIsolate_mode 
EditModeAny 
Default 
DefaultStatic 
DefaultDynamic 
DefaultStaticWithoutDynamic 

◆ InputLayout

Enumerator
Input_layout_regular 
Input_layout_normal_map 
Input_layout_skinning 
Input_layout_normal_map_skinning 
Input_layout_postfx 
Input_layout_regular_doubleuv 
Input_layout_normal_map_doubleuv 
Input_layout_skinning_doubleuv 
Input_layout_normal_map_skinning_doubleuv 
Num_of_input_layouts 

◆ TextFlags

Enumerator
RglTfNone 
RglTfHAlignLeft 

Horizontal align the label to the left.

RglTfHAlignRight 

Horizontal align the label to the right.

RglTfHAlignCenter 

Horizontal align the label to the center.

RglTfVAlignTop 

Vertical align the label to the top.

RglTfVAlignDown 

Vertical align the label to the down.

RglTfVAlignCenter 

Vertical align the label to the center.

RglTfSingleLine 

5th bit. Make label single line.

RglTfMultiline 

6th bit. Make label multi line.

RglTfItalic 

7th bit. Make label italic.

RglTfCutTextFromLeft 

8th bit. Cut the label from left.

RglTfDoubleSpace 

9th bit Make the text rows of the label double space.

RglTfWithOutline 

10th bit. Draw the label with outline. Make it thicker.

RglTfHalfSpace 

11th bit. Make the text rows of the label half space.

◆ PhysicsMaterialFlags

Enumerator
None 
DontStickMissiles 
Flammable 
RainSplashesEnabled 
AttacksCanPassThrough 

◆ PhysicsEventType

Enumerator
CollisionStart 
CollisionStay 
CollisionEnd 

◆ DecalAtlasGroup

Enumerator
All 
Worldmap 
Battle 
Town 
Multiplayer 
Count 

◆ RagdollState

Enumerator
Disabled 
NeedsActivation 
ActiveFirstTick 
Active 
NeedsDeactivation 

◆ ZValidityState

Enumerator
Invalid 
BatchFormationUnitPosition 
ValidAccordingToNavMesh 
Valid 

Function Documentation

◆ MaterialCacheIDGetMethodDelegate()

delegate string TaleWorlds.Engine.MaterialCacheIDGetMethodDelegate ( object o)

◆ CheckForSceneProblemsDelegate()

delegate bool TaleWorlds.Engine.CheckForSceneProblemsDelegate ( Scene scene)