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

Inherits TaleWorlds.Engine.ScriptComponentBehavior.

Public Attributes

SimpleButton CheckPositions
 
SimpleButton SavePositions
 
SimpleButton ComputeAndSaveSettlementDistanceCache
 

Protected Member Functions

override void OnEditorVariableChanged (string variableName)
 Called when an object's field has changed from the editor.
 
override void OnSceneSave (string saveFolder)
 Called before the scene of object is being saved in editor.
 
override void OnInit ()
 This callback method is called when the object is constructed.
 
override bool IsOnlyVisual ()
 
- 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
}
 
- Public Member Functions inherited from TaleWorlds.Engine.ScriptComponentBehavior
void SetScriptComponentToTick (TickRequirement value)
 
void SetScriptComponentToTickMT (TickRequirement value)
 
virtual TickRequirement GetTickRequirement ()
 
- Properties inherited from TaleWorlds.Engine.ScriptComponentBehavior
GameEntity GameEntity [get]
 
ManagedScriptComponent ScriptComponent [get]
 
ManagedScriptHolder ManagedScriptHolder [get]
 
Scene Scene [get]
 

Member Function Documentation

◆ OnEditorVariableChanged()

override void SandBox.SettlementPositionScript.OnEditorVariableChanged ( string variableName)
protectedvirtual
Parameters
variableNameName of the field which has just changed.

Reimplemented from TaleWorlds.Engine.ScriptComponentBehavior.

◆ OnSceneSave()

override void SandBox.SettlementPositionScript.OnSceneSave ( string saveFolder)
protectedvirtual
Parameters
variableNameName of the field which has just changed.

Reimplemented from TaleWorlds.Engine.ScriptComponentBehavior.

◆ OnInit()

override void SandBox.SettlementPositionScript.OnInit ( )
protectedvirtual

◆ IsOnlyVisual()

override bool SandBox.SettlementPositionScript.IsOnlyVisual ( )
protectedvirtual

Member Data Documentation

◆ CheckPositions

SimpleButton SandBox.SettlementPositionScript.CheckPositions

◆ SavePositions

SimpleButton SandBox.SettlementPositionScript.SavePositions

◆ ComputeAndSaveSettlementDistanceCache

SimpleButton SandBox.SettlementPositionScript.ComputeAndSaveSettlementDistanceCache