M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
SandBox.CampaignMapSiegePrefabEntityCache Class Reference

Inherits TaleWorlds.Engine.ScriptComponentBehavior.

Public Member Functions

MatrixFrame GetLaunchEntitialFrameForSiegeEngine (SiegeEngineType type, BattleSideEnum side)
 
Vec3 GetScaleForSiegeEngine (SiegeEngineType type, BattleSideEnum side)
 
- Public Member Functions inherited from TaleWorlds.Engine.ScriptComponentBehavior
void SetScriptComponentToTick (TickRequirement value)
 
void SetScriptComponentToTickMT (TickRequirement value)
 
virtual TickRequirement GetTickRequirement ()
 

Protected Member Functions

override void OnInit ()
 This callback method is called when the object is constructed.
 
- Protected Member Functions inherited from TaleWorlds.Engine.ScriptComponentBehavior
void InvalidateWeakPointersIfValid ()
 
 ScriptComponentBehavior ()
 
virtual void OnRemoved (int removeReason)
 

Additional Inherited Members

- Public Types inherited from TaleWorlds.Engine.ScriptComponentBehavior
enum  TickRequirement : uint {
  None = 0x00000000 ,
  TickOccasionally = 0x00000001 ,
  Tick = 0x00000002 ,
  TickParallel = 0x00000004 ,
  TickParallel2 = 0x00000008
}
 
- Properties inherited from TaleWorlds.Engine.ScriptComponentBehavior
GameEntity GameEntity [get]
 
ManagedScriptComponent ScriptComponent [get]
 
ManagedScriptHolder ManagedScriptHolder [get]
 
Scene Scene [get]
 

Member Function Documentation

◆ OnInit()

override void SandBox.CampaignMapSiegePrefabEntityCache.OnInit ( )
protectedvirtual

◆ GetLaunchEntitialFrameForSiegeEngine()

MatrixFrame SandBox.CampaignMapSiegePrefabEntityCache.GetLaunchEntitialFrameForSiegeEngine ( SiegeEngineType  type,
BattleSideEnum  side 
)

◆ GetScaleForSiegeEngine()

Vec3 SandBox.CampaignMapSiegePrefabEntityCache.GetScaleForSiegeEngine ( SiegeEngineType  type,
BattleSideEnum  side 
)