M&B: Bannerlord 1.0.3
The horns sound, the ravens gather.
|
Inherits TaleWorlds.MountAndBlade.StandingPoint.
Inherited by SandBox.Objects.AnimationPoints.ChairUsePoint, and SandBox.Objects.AnimationPoints.PlayMusicPoint.
Classes | |
struct | ItemForBone |
Public Member Functions | |
AnimationPoint () | |
void | RequestResync () |
override void | AfterMissionStart () |
override bool | IsDisabledForAgent (Agent agent) |
override TickRequirement | GetTickRequirement () |
override WorldFrame | GetUserFrameForAgent (Agent agent) |
override bool | IsUsableByAgent (Agent userAgent) |
override void | OnUse (Agent userAgent) |
override void | OnUseStopped (Agent userAgent, bool isSuccessful, int preferenceIndex) |
override void | SimulateTick (float dt) |
override bool | HasAlternative () |
float | GetRandomWaitInSeconds () |
List< AnimationPoint > | GetAlternatives () |
bool | IsRotationCorrectDuringUsage () |
override void | OnUserConversationStart () |
override void | OnUserConversationEnd () |
void | SetAgentItemsVisibility (bool isVisible) |
![]() | |
StandingPoint () | |
void | OnParentMachinePhysicsStateChanged () |
override bool | IsDisabledForAgent (Agent agent) |
override TickRequirement | GetTickRequirement () |
override void | OnUse (Agent userAgent) |
override void | OnUseStopped (Agent userAgent, bool isSuccessful, int preferenceIndex) |
override WorldFrame | GetUserFrameForAgent (Agent agent) |
virtual bool | HasAlternative () |
virtual float | GetUsageScoreForAgent (Agent agent) |
virtual float | GetUsageScoreForAgent (AgentValuePair< float > agentPair) |
void | SetupOnUsingStoppedBehavior (bool autoAttach, Action< Agent, bool > action) |
override void | OnEndMission () |
override string | GetDescriptionText (GameEntity gameEntity=null) |
![]() | |
virtual void | OnUserConversationStart () |
virtual void | OnUserConversationEnd () |
void | SetIsDeactivatedSynched (bool value) |
void | SetIsDisabledForPlayersSynched (bool value) |
virtual bool | IsDisabledForAgent (Agent agent) |
void | AddComponent (UsableMissionObjectComponent component) |
void | RemoveComponent (UsableMissionObjectComponent component) |
T | GetComponent< T > () |
void | RefreshGameEntityWithWorldPosition () |
virtual void | OnFocusGain (Agent userAgent) |
virtual void | OnFocusLose (Agent userAgent) |
virtual TextObject | GetInfoTextForBeingNotInteractable (Agent userAgent) |
virtual void | SetUserForClient (Agent userAgent) |
virtual void | OnUse (Agent userAgent) |
virtual void | OnAIMoveToUse (Agent userAgent, IDetachment detachment) |
virtual void | OnUseStopped (Agent userAgent, bool isSuccessful, int preferenceIndex) |
virtual void | OnMoveToStopped (Agent movingAgent) |
virtual int | GetMovingAgentCount () |
virtual Agent | GetMovingAgentWithIndex (int index) |
virtual void | RemoveMovingAgent (Agent movingAgent) |
virtual void | AddMovingAgent (Agent movingAgent) |
virtual void | SimulateTick (float dt) |
override TickRequirement | GetTickRequirement () |
virtual WorldFrame | GetUserFrameForAgent (Agent agent) |
override string | ToString () |
virtual bool | IsAIMovingTo (Agent agent) |
virtual bool | HasUserPositionsChanged (Agent agent) |
override void | WriteToNetwork () |
Sends object's data to synchronize it to clients. | |
override bool | ReadFromNetwork () |
Receives object's data to synchronize it from the server. | |
virtual bool | IsUsableByAgent (Agent userAgent) |
override void | OnEndMission () |
abstract string | GetDescriptionText (GameEntity gameEntity=null) |
![]() | |
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 () |
![]() | |
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. | |
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. | |
virtual void | OnEndMission () |
virtual void | AddStuckMissile (GameEntity missileEntity) |
![]() | |
void | SetScriptComponentToTick (TickRequirement value) |
void | SetScriptComponentToTickMT (TickRequirement value) |
virtual TickRequirement | GetTickRequirement () |
void | OnFocusGain (Agent userAgent) |
void | OnFocusLose (Agent userAgent) |
TextObject | GetInfoTextForBeingNotInteractable (Agent userAgent) |
string | GetDescriptionText (GameEntity gameEntity=null) |
void | OnUse (Agent userAgent) |
void | OnUseStopped (Agent userAgent, bool isSuccessful, int preferenceIndex) |
Public Attributes | |
string | ArriveAction = "" |
string | LoopStartAction = "" |
string | PairLoopStartAction = "" |
string | LeaveAction = "" |
int | GroupId = -1 |
string | RightHandItem = "" |
HumanBone | RightHandItemBone = HumanBone.ItemR |
string | LeftHandItem = "" |
HumanBone | LeftHandItemBone = HumanBone.ItemL |
GameEntity | PairEntity = null |
int | MinUserToStartInteraction = 1 |
bool | ActivatePairs = false |
float | MinWaitinSeconds = 30 |
float | MaxWaitInSeconds = 120 |
float | ForwardDistanceToPivotPoint = 0.0f |
float | SideDistanceToPivotPoint = 0.0f |
bool | KeepOldVisibility = false |
![]() | |
bool | AutoSheathWeapons |
bool | AutoEquipWeaponsOnUseStopped |
bool | AutoWieldWeapons |
readonly bool | TranslateUser |
bool | HasRecentlyBeenRechecked = false |
![]() | |
TextObject | DescriptionMessage = TextObject.Empty |
TextObject | ActionMessage = TextObject.Empty |
Protected Member Functions | |
override void | OnEditModeVisibilityChanged (bool currentVisibility) |
override void | OnEditorTick (float dt) |
override void | OnEditorInit () |
override void | OnRemoved (int removeReason) |
void | ResetAnimations () |
override void | OnEditorVariableChanged (string variableName) |
Called when an object's field has changed from the editor. | |
virtual bool | ShouldUpdateOnEditorVariableChanged (string variableName) |
void | ClearAssignedItems () |
void | AssignItemToBone (ItemForBone newItem) |
override void | OnInit () |
This callback method is called when the object is constructed. | |
virtual void | SetActionCodes () |
override bool | DoesActionTypeStopUsingGameObject (Agent.ActionCodeType actionType) |
override void | OnTick (float dt) |
bool | CanAgentUseItem (Agent agent) |
void | AddItemsToAgent () |
virtual bool | DoesActionTypeStopUsingGameObject (Agent.ActionCodeType actionType) |
![]() | |
UsableMissionObject (bool isInstantUse=false) | |
virtual void | CollectChildEntity (GameEntity childEntity) |
virtual bool | VerifyChildEntities (ref string errorMessage) |
override void | OnRemoved (int removeReason) |
![]() | |
virtual void | AttachDynamicNavmeshToEntity () |
virtual GameEntity | GetEntityToAttachNavMeshFaces () |
override void | OnRemoved (int removeReason) |
![]() | |
void | InvalidateWeakPointersIfValid () |
ScriptComponentBehavior () | |
virtual void | OnRemoved (int removeReason) |
Protected Attributes | |
float | ActionSpeed = 1f |
ActionIndexCache | LoopStartActionCode |
ActionIndexCache | PairLoopStartActionCode |
ActionIndexCache | DefaultActionCode |
![]() | |
BattleSideEnum | StandingPointSide = BattleSideEnum.None |
![]() | |
string | NavMeshPrefabName = "" |
int | DynamicNavmeshIdStart = 0 |
Additional Inherited Members | |
![]() | |
enum | SynchFlags : uint { SynchNone = 0x00000000 , SynchTransform = 0x00000001 , SynchAnimation = 0x00000002 , SynchBodyFlags = 0x00000004 , SyncColors = 0x00000008 , SynchAll = 0xffffffff } |
![]() | |
enum | TickRequirement : uint { None = 0x00000000 , TickOccasionally = 0x00000001 , Tick = 0x00000002 , TickParallel = 0x00000004 , TickParallel2 = 0x00000008 } |
![]() | |
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 |
SandBox.Objects.AnimationPoints.AnimationPoint.AnimationPoint | ( | ) |
|
protectedvirtual |
Reimplemented from TaleWorlds.Engine.ScriptComponentBehavior.
|
protectedvirtual |
Reimplemented from TaleWorlds.Engine.ScriptComponentBehavior.
|
protectedvirtual |
Reimplemented from TaleWorlds.Engine.ScriptComponentBehavior.
|
protectedvirtual |
Reimplemented from TaleWorlds.Engine.ScriptComponentBehavior.
|
protected |
|
protectedvirtual |
variableName | Name of the field which has just changed. |
Reimplemented from TaleWorlds.Engine.ScriptComponentBehavior.
void SandBox.Objects.AnimationPoints.AnimationPoint.RequestResync | ( | ) |
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.MissionObject.
|
protectedvirtual |
Reimplemented in SandBox.Objects.AnimationPoints.ChairUsePoint.
|
protected |
|
protected |
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.UsableMissionObject.
|
protectedvirtual |
Reimplemented from TaleWorlds.Engine.ScriptComponentBehavior.
Reimplemented in SandBox.Objects.AnimationPoints.PlayMusicPoint.
|
protectedvirtual |
Reimplemented in SandBox.Objects.AnimationPoints.ChairUsePoint.
|
protectedvirtual |
Reimplemented from TaleWorlds.MountAndBlade.StandingPoint.
|
virtual |
Reimplemented from TaleWorlds.Engine.ScriptComponentBehavior.
Reimplemented in SandBox.Objects.AnimationPoints.PlayMusicPoint.
|
protectedvirtual |
Reimplemented from TaleWorlds.Engine.ScriptComponentBehavior.
Reimplemented in SandBox.Objects.AnimationPoints.ChairUsePoint, and SandBox.Objects.AnimationPoints.PlayMusicPoint.
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.UsableMissionObject.
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.UsableMissionObject.
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.UsableMissionObject.
Reimplemented in SandBox.Objects.AnimationPoints.ChairUsePoint.
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.UsableMissionObject.
Reimplemented in SandBox.Objects.AnimationPoints.PlayMusicPoint.
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.UsableMissionObject.
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.StandingPoint.
float SandBox.Objects.AnimationPoints.AnimationPoint.GetRandomWaitInSeconds | ( | ) |
List< AnimationPoint > SandBox.Objects.AnimationPoints.AnimationPoint.GetAlternatives | ( | ) |
bool SandBox.Objects.AnimationPoints.AnimationPoint.IsRotationCorrectDuringUsage | ( | ) |
|
protected |
|
protected |
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.UsableMissionObject.
|
virtual |
Reimplemented from TaleWorlds.MountAndBlade.UsableMissionObject.
void SandBox.Objects.AnimationPoints.AnimationPoint.SetAgentItemsVisibility | ( | bool | isVisible | ) |
string SandBox.Objects.AnimationPoints.AnimationPoint.ArriveAction = "" |
string SandBox.Objects.AnimationPoints.AnimationPoint.LoopStartAction = "" |
string SandBox.Objects.AnimationPoints.AnimationPoint.PairLoopStartAction = "" |
string SandBox.Objects.AnimationPoints.AnimationPoint.LeaveAction = "" |
int SandBox.Objects.AnimationPoints.AnimationPoint.GroupId = -1 |
string SandBox.Objects.AnimationPoints.AnimationPoint.RightHandItem = "" |
HumanBone SandBox.Objects.AnimationPoints.AnimationPoint.RightHandItemBone = HumanBone.ItemR |
string SandBox.Objects.AnimationPoints.AnimationPoint.LeftHandItem = "" |
HumanBone SandBox.Objects.AnimationPoints.AnimationPoint.LeftHandItemBone = HumanBone.ItemL |
GameEntity SandBox.Objects.AnimationPoints.AnimationPoint.PairEntity = null |
int SandBox.Objects.AnimationPoints.AnimationPoint.MinUserToStartInteraction = 1 |
bool SandBox.Objects.AnimationPoints.AnimationPoint.ActivatePairs = false |
float SandBox.Objects.AnimationPoints.AnimationPoint.MinWaitinSeconds = 30 |
float SandBox.Objects.AnimationPoints.AnimationPoint.MaxWaitInSeconds = 120 |
float SandBox.Objects.AnimationPoints.AnimationPoint.ForwardDistanceToPivotPoint = 0.0f |
float SandBox.Objects.AnimationPoints.AnimationPoint.SideDistanceToPivotPoint = 0.0f |
|
protected |
bool SandBox.Objects.AnimationPoints.AnimationPoint.KeepOldVisibility = false |
|
protected |
|
protected |
|
protected |
|
get |
|
get |
|
getsetprotected |
|
getsetprotected |
|
get |
|
get |