Table of Contents

Class SynchedMissionObject

Namespace
TaleWorlds.MountAndBlade
Assembly
TaleWorlds.MountAndBlade.dll
public class SynchedMissionObject : MissionObject
Inheritance
SynchedMissionObject
Derived
Inherited Members

Constructors

SynchedMissionObject()

public SynchedMissionObject()

Properties

Color

public uint Color { get; }

Property Value

uint

Color2

public uint Color2 { get; }

Property Value

uint

SynchronizeCompleted

public bool SynchronizeCompleted { get; }

Property Value

bool

Methods

AddBodyFlagsSynched(BodyFlags, bool)

public void AddBodyFlagsSynched(BodyFlags flags, bool applyToChildren = true)

Parameters

flags BodyFlags
applyToChildren bool

ApplyImpulseSynched(Vec3, Vec3)

public void ApplyImpulseSynched(Vec3 localPosition, Vec3 impulse)

Parameters

localPosition Vec3
impulse Vec3

BurstParticlesSynched(bool)

public void BurstParticlesSynched(bool doChildren = true)

Parameters

doChildren bool

GetTickRequirement()

public override ScriptComponentBehavior.TickRequirement GetTickRequirement()

Returns

ScriptComponentBehavior.TickRequirement

OnAfterReadFromNetwork((BaseSynchedMissionObjectReadableRecord, ISynchedMissionObjectReadableRecord))

public virtual void OnAfterReadFromNetwork((BaseSynchedMissionObjectReadableRecord, ISynchedMissionObjectReadableRecord) synchedMissionObjectReadableRecord)

Parameters

synchedMissionObjectReadableRecord (BaseSynchedMissionObjectReadableRecord, ISynchedMissionObjectReadableRecord)

OnInit()

protected override void OnInit()

OnTick(float)

protected override void OnTick(float dt)

Parameters

dt float

PauseSkeletonAnimationSynched()

public void PauseSkeletonAnimationSynched()

RemoveBodyFlagsSynched(BodyFlags, bool)

public void RemoveBodyFlagsSynched(BodyFlags flags, bool applyToChildren = true)

Parameters

flags BodyFlags
applyToChildren bool

ResumeSkeletonAnimationSynched()

public void ResumeSkeletonAnimationSynched()

SetAnimationAtChannelSynched(int, int, float)

public void SetAnimationAtChannelSynched(int animationIndex, int channelNo, float animationSpeed = 1)

Parameters

animationIndex int
channelNo int
animationSpeed float

SetAnimationAtChannelSynched(string, int, float)

public void SetAnimationAtChannelSynched(string animationName, int channelNo, float animationSpeed = 1)

Parameters

animationName string
channelNo int
animationSpeed float

SetAnimationChannelParameterSynched(int, float)

public void SetAnimationChannelParameterSynched(int channelNo, float parameter)

Parameters

channelNo int
parameter float

SetDisabledSynched()

public virtual void SetDisabledSynched()

SetFrameSynched(ref MatrixFrame, bool)

public void SetFrameSynched(ref MatrixFrame frame, bool isClient = false)

Parameters

frame MatrixFrame
isClient bool

SetFrameSynchedOverTime(ref MatrixFrame, float, bool)

public void SetFrameSynchedOverTime(ref MatrixFrame frame, float duration, bool isClient = false)

Parameters

frame MatrixFrame
duration float
isClient bool

SetGlobalFrameSynched(ref MatrixFrame, bool)

public void SetGlobalFrameSynched(ref MatrixFrame frame, bool isClient = false)

Parameters

frame MatrixFrame
isClient bool

SetGlobalFrameSynchedOverTime(ref MatrixFrame, float, bool)

public void SetGlobalFrameSynchedOverTime(ref MatrixFrame frame, float duration, bool isClient = false)

Parameters

frame MatrixFrame
duration float
isClient bool

SetLocalPositionSmoothStep(ref Vec3)

public void SetLocalPositionSmoothStep(ref Vec3 targetPosition)

Parameters

targetPosition Vec3

SetPhysicsStateSynched(bool, bool)

public virtual void SetPhysicsStateSynched(bool value, bool setChildren = true)

Parameters

value bool
setChildren bool

SetTeamColors(uint, uint)

public void SetTeamColors(uint color, uint color2)

Parameters

color uint
color2 uint

SetTeamColorsSynched(uint, uint)

public virtual void SetTeamColorsSynched(uint color, uint color2)

Parameters

color uint
color2 uint

SetVisibleSynched(bool, bool)

public virtual void SetVisibleSynched(bool value, bool forceChildrenVisible = false)

Parameters

value bool
forceChildrenVisible bool

WriteToNetwork()

public virtual void WriteToNetwork()

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).