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
Color2
public uint Color2 { get; }
Property Value
SynchronizeCompleted
public bool SynchronizeCompleted { get; }
Property Value
Methods
AddBodyFlagsSynched(BodyFlags, bool)
public void AddBodyFlagsSynched(BodyFlags flags, bool applyToChildren = true)
Parameters
ApplyImpulseSynched(Vec3, Vec3)
public void ApplyImpulseSynched(Vec3 localPosition, Vec3 impulse)
Parameters
BurstParticlesSynched(bool)
public void BurstParticlesSynched(bool doChildren = true)
Parameters
doChildren
bool
GetTickRequirement()
public override ScriptComponentBehavior.TickRequirement GetTickRequirement()
Returns
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
ResumeSkeletonAnimationSynched()
public void ResumeSkeletonAnimationSynched()
SetAnimationAtChannelSynched(int, int, float)
public void SetAnimationAtChannelSynched(int animationIndex, int channelNo, float animationSpeed = 1)
Parameters
SetAnimationAtChannelSynched(string, int, float)
public void SetAnimationAtChannelSynched(string animationName, int channelNo, float animationSpeed = 1)
Parameters
SetAnimationChannelParameterSynched(int, float)
public void SetAnimationChannelParameterSynched(int channelNo, float parameter)
Parameters
SetDisabledSynched()
public virtual void SetDisabledSynched()
SetFrameSynched(ref MatrixFrame, bool)
public void SetFrameSynched(ref MatrixFrame frame, bool isClient = false)
Parameters
frame
MatrixFrameisClient
bool
SetFrameSynchedOverTime(ref MatrixFrame, float, bool)
public void SetFrameSynchedOverTime(ref MatrixFrame frame, float duration, bool isClient = false)
Parameters
frame
MatrixFrameduration
floatisClient
bool
SetGlobalFrameSynched(ref MatrixFrame, bool)
public void SetGlobalFrameSynched(ref MatrixFrame frame, bool isClient = false)
Parameters
frame
MatrixFrameisClient
bool
SetGlobalFrameSynchedOverTime(ref MatrixFrame, float, bool)
public void SetGlobalFrameSynchedOverTime(ref MatrixFrame frame, float duration, bool isClient = false)
Parameters
frame
MatrixFrameduration
floatisClient
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
SetTeamColors(uint, uint)
public void SetTeamColors(uint color, uint color2)
Parameters
SetTeamColorsSynched(uint, uint)
public virtual void SetTeamColorsSynched(uint color, uint color2)
Parameters
SetVisibleSynched(bool, bool)
public virtual void SetVisibleSynched(bool value, bool forceChildrenVisible = false)
Parameters
WriteToNetwork()
public virtual void WriteToNetwork()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).