class
ProjectileLauncherRound
- 24 properties
- 49 functions
Extends game.ItemObject game.TimeDilatable game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
projectileComponent | game.projectile.Component? | 0x100 | scripted |
resourceLibraryComponent | ResourceLibraryComponent? | 0x110 | scripted |
user | WeakHandle<game.Object> | 0x120 | scripted |
projectile | WeakHandle<game.Object> | 0x130 | scripted |
weapon | WeakHandle<game.weapon.Object> | 0x140 | scripted |
projectileSpawnPoint | Vector4 | 0x150 | scripted |
launchMode | game.data.ProjectileLaunchMode | 0x160 | scripted |
initialLaunchVelocity | float | 0x164 | scripted |
installedProjectile | game.ItemID | 0x168 | scripted |
actionType | ELauncherActionType | 0x178 | scripted |
attackRecord | game.data.Attack_Record? | 0x180 | scripted |
releaseRequestDelayID | game.DelayID | 0x190 | scripted |
detonateRequestDelayID | game.DelayID | 0x198 | scripted |
projectileTrailName | CName | 0x1A0 | scripted |
projectileCollisionEvaluator | ProjectileLauncherRoundCollisionEvaluator? | 0x1A8 | scripted |
isAlive | bool | 0x1B8 | scripted |
isSinking | bool | 0x1B9 | scripted |
waterHeight | float | 0x1BC | scripted |
deepWaterDepth | float | 0x1C0 | scripted |
sinkingDetonationDelay | float | 0x1C4 | scripted |
waterSurfaceImpactImpulseRadius | float | 0x1C8 | scripted |
waterSurfaceImpactImpulseStrength | float | 0x1CC | scripted |
waterDetonationImpulseRadius | float | 0x1D0 | scripted |
waterDetonationImpulseStrength | float | 0x1D4 | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIre.Hooks.Place( "ProjectileLauncherRound", "OnRequestComponents", (ProjectileLauncherRound_OnRequestComponents x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_OnRequestComponents( ProjectileLauncherRound self, ent.EntityRequestComponentsInterface ri );bool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIre.Hooks.Place( "ProjectileLauncherRound", "OnTakeControl", (ProjectileLauncherRound_OnTakeControl x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_OnTakeControl( ProjectileLauncherRound self, ent.EntityResolveComponentsInterface ri );bool OnProjectileInitialize(game.projectile.SetUpEvent eventData)RTTIre.Hooks.Place( "ProjectileLauncherRound", "OnProjectileInitialize", (ProjectileLauncherRound_OnProjectileInitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_OnProjectileInitialize( ProjectileLauncherRound self, game.projectile.SetUpEvent? eventData );void SetCollisionAction()RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "SetCollisionAction;", (ProjectileLauncherRound_SetCollisionAction x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_SetCollisionAction( ProjectileLauncherRound self );bool SetCurrentlyInstalledRound()RTTIre.Hooks.Place( "ProjectileLauncherRound", "SetCurrentlyInstalledRound;", (ProjectileLauncherRound_SetCurrentlyInstalledRound x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_SetCurrentlyInstalledRound( ProjectileLauncherRound self );bool OnShoot(game.projectile.ShootEvent eventData)RTTIre.Hooks.Place( "ProjectileLauncherRound", "OnShoot", (ProjectileLauncherRound_OnShoot x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_OnShoot( ProjectileLauncherRound self, game.projectile.ShootEvent? eventData );bool OnShootTarget(game.projectile.ShootTargetEvent eventData)RTTIre.Hooks.Place( "ProjectileLauncherRound", "OnShootTarget", (ProjectileLauncherRound_OnShootTarget x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_OnShootTarget( ProjectileLauncherRound self, game.projectile.ShootTargetEvent? eventData );void GeneralLaunchSetup(game.projectile.ShootEvent eventData)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "GeneralLaunchSetup;gameprojectileShootEvent", (ProjectileLauncherRound_GeneralLaunchSetup x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_GeneralLaunchSetup( ProjectileLauncherRound self, game.projectile.ShootEvent? eventData );bool WeaponIsCharged()RTTIre.Hooks.Place( "ProjectileLauncherRound", "WeaponIsCharged;", (ProjectileLauncherRound_WeaponIsCharged x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_WeaponIsCharged( ProjectileLauncherRound self );void CurvedLaunchToTarget(game.projectile.ShootEvent eventData, WeakHandle<game.Object>? targetObject, ent.IPlacedComponent? targetComponent)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "CurvedLaunchToTarget;gameprojectileShootEventGameObjectIPlacedComponent", (ProjectileLauncherRound_CurvedLaunchToTarget x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_CurvedLaunchToTarget( ProjectileLauncherRound self, game.projectile.ShootEvent? eventData, WeakHandle<game.Object>? targetObject, ent.IPlacedComponent? targetComponent );float GetFloat(string param)RTTIre.Hooks.Place( "ProjectileLauncherRound", "GetFloat;script_ref<String>", (ProjectileLauncherRound_GetFloat x) => { return re.Hooks.CallOriginal<re.msgpack.Float>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_GetFloat( ProjectileLauncherRound self, string param );int GetInt(string param)RTTIre.Hooks.Place( "ProjectileLauncherRound", "GetInt;script_ref<String>", (ProjectileLauncherRound_GetInt x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_GetInt( ProjectileLauncherRound self, string param );bool GetBool(string param)RTTIre.Hooks.Place( "ProjectileLauncherRound", "GetBool;script_ref<String>", (ProjectileLauncherRound_GetBool x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_GetBool( ProjectileLauncherRound self, string param );CName GetCName(string param)RTTIre.Hooks.Place( "ProjectileLauncherRound", "GetCName;script_ref<String>", (ProjectileLauncherRound_GetCName x) => { return re.Hooks.CallOriginal<re.msgpack.CName>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_GetCName( ProjectileLauncherRound self, string param );string GetString(string param)RTTIre.Hooks.Place( "ProjectileLauncherRound", "GetString;script_ref<String>", (ProjectileLauncherRound_GetString x) => { return re.Hooks.CallOriginal<re.msgpack.Str>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_GetString( ProjectileLauncherRound self, string param );Vector3 GetVector3(string param)RTTIre.Hooks.Place( "ProjectileLauncherRound", "GetVector3;script_ref<String>", (ProjectileLauncherRound_GetVector3 x) => { return re.Hooks.CallOriginal<re.msgpack.Vector3>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_GetVector3( ProjectileLauncherRound self, string param );bool OnCollision(game.projectile.HitEvent eventData)RTTIre.Hooks.Place( "ProjectileLauncherRound", "OnCollision", (ProjectileLauncherRound_OnCollision x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_OnCollision( ProjectileLauncherRound self, game.projectile.HitEvent? eventData );void ExecuteGameEffect(Vector4 projectilePosition)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "ExecuteGameEffect;Vector4", (ProjectileLauncherRound_ExecuteGameEffect x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_ExecuteGameEffect( ProjectileLauncherRound self, Vector4 projectilePosition );void AddWaterImpulsesOnDetonation(Vector4 position, int numImpulses)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "AddWaterImpulsesOnDetonation;Vector4Int32", (ProjectileLauncherRound_AddWaterImpulsesOnDetonation x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_AddWaterImpulsesOnDetonation( ProjectileLauncherRound self, Vector4 position, int numImpulses );void EvaluateStimBroadcasting(game.data.StimType stimToSend)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "EvaluateStimBroadcasting;gamedataStimType", (ProjectileLauncherRound_EvaluateStimBroadcasting x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_EvaluateStimBroadcasting( ProjectileLauncherRound self, game.data.StimType stimToSend );void CreateCustomTickEventWithDuration(float value)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "CreateCustomTickEventWithDuration;Float", (ProjectileLauncherRound_CreateCustomTickEventWithDuration x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_CreateCustomTickEventWithDuration( ProjectileLauncherRound self, float value );void CreateDelayEvent(float value)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "CreateDelayEvent;Float", (ProjectileLauncherRound_CreateDelayEvent x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_CreateDelayEvent( ProjectileLauncherRound self, float value );void CreateDetonationDelayEvent(float value)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "CreateDetonationDelayEvent;Float", (ProjectileLauncherRound_CreateDetonationDelayEvent x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_CreateDetonationDelayEvent( ProjectileLauncherRound self, float value );bool OnMaxLifetimeReached(ProjectileDelayEvent evt)RTTIre.Hooks.Place( "ProjectileLauncherRound", "OnMaxLifetimeReached", (ProjectileLauncherRound_OnMaxLifetimeReached x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_OnMaxLifetimeReached( ProjectileLauncherRound self, ProjectileDelayEvent? evt );bool OnMaxDetonationTimeReached(ProjectileLauncherRoundDetonationDelayEvent evt)RTTIre.Hooks.Place( "ProjectileLauncherRound", "OnMaxDetonationTimeReached", (ProjectileLauncherRound_OnMaxDetonationTimeReached x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_OnMaxDetonationTimeReached( ProjectileLauncherRound self, ProjectileLauncherRoundDetonationDelayEvent? evt );bool OnTick(game.projectile.TickEvent eventData)RTTIre.Hooks.Place( "ProjectileLauncherRound", "OnTick", (ProjectileLauncherRound_OnTick x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_OnTick( ProjectileLauncherRound self, game.projectile.TickEvent? eventData );void Release()RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "Release;", (ProjectileLauncherRound_Release x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_Release( ProjectileLauncherRound self );void SetProjectileTrailEffect()RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "SetProjectileTrailEffect;", (ProjectileLauncherRound_SetProjectileTrailEffect x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_SetProjectileTrailEffect( ProjectileLauncherRound self );void SetProjectileLifetime()RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "SetProjectileLifetime;", (ProjectileLauncherRound_SetProjectileLifetime x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_SetProjectileLifetime( ProjectileLauncherRound self );void SetProjectileDetonationTime()RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "SetProjectileDetonationTime;", (ProjectileLauncherRound_SetProjectileDetonationTime x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_SetProjectileDetonationTime( ProjectileLauncherRound self );bool HasTrajectory()RTTIre.Hooks.Place( "ProjectileLauncherRound", "HasTrajectory;", (ProjectileLauncherRound_HasTrajectory x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_HasTrajectory( ProjectileLauncherRound self );void StopProjectile()RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "StopProjectile;", (ProjectileLauncherRound_StopProjectile x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_StopProjectile( ProjectileLauncherRound self );void SpawnVisualEffect(CName effectName, CName? eventTag)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "SpawnVisualEffect;CNameCName", (ProjectileLauncherRound_SpawnVisualEffect x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_SpawnVisualEffect( ProjectileLauncherRound self, CName effectName, CName? eventTag );void BreakVisualEffectLoop(CName effectName)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "BreakVisualEffectLoop;CName", (ProjectileLauncherRound_BreakVisualEffectLoop x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_BreakVisualEffectLoop( ProjectileLauncherRound self, CName effectName );void KillVisualEffect(CName effectName)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "KillVisualEffect;CName", (ProjectileLauncherRound_KillVisualEffect x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_KillVisualEffect( ProjectileLauncherRound self, CName effectName );WeakHandle<game.Object> GetObject(game.projectile.HitInstance hitInstance)RTTIVector4 GetObjectWorldPosition(WeakHandle<game.Object> objectt)RTTIre.Hooks.Place( "ProjectileLauncherRound", "GetObjectWorldPosition;GameObject", (ProjectileLauncherRound_GetObjectWorldPosition x) => { return re.Hooks.CallOriginal<re.msgpack.Vector4>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_GetObjectWorldPosition( ProjectileLauncherRound self, WeakHandle<game.Object> objectt );ELauncherActionType SetProjectileLauncherAction()RTTIre.Hooks.Place( "ProjectileLauncherRound", "SetProjectileLauncherAction;", (ProjectileLauncherRound_SetProjectileLauncherAction x) => { return re.Hooks.CallOriginal<re.msgpack.ELauncherActionType>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_SetProjectileLauncherAction( ProjectileLauncherRound self );void SetAttackRecordBasedOnAction()RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "SetAttackRecordBasedOnAction;", (ProjectileLauncherRound_SetAttackRecordBasedOnAction x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_SetAttackRecordBasedOnAction( ProjectileLauncherRound self );void SetLaunchVelocityBasedOnAction()RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "SetLaunchVelocityBasedOnAction;", (ProjectileLauncherRound_SetLaunchVelocityBasedOnAction x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_SetLaunchVelocityBasedOnAction( ProjectileLauncherRound self );game.data.ProjectileOnCollisionAction CollisionActionNameToEnum(CName collisionAction)RTTIre.Hooks.Place( "ProjectileLauncherRound", "CollisionActionNameToEnum;CName", (ProjectileLauncherRound_CollisionActionNameToEnum x) => { return re.Hooks.CallOriginal<re.msgpack.game.data.ProjectileOnCollisionAction>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_CollisionActionNameToEnum( ProjectileLauncherRound self, CName collisionAction );game.data.StimType CollisionStimTypeNameToEnum(CName onCollisionStimType)RTTIre.Hooks.Place( "ProjectileLauncherRound", "CollisionStimTypeNameToEnum;CName", (ProjectileLauncherRound_CollisionStimTypeNameToEnum x) => { return re.Hooks.CallOriginal<re.msgpack.game.data.StimType>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_CollisionStimTypeNameToEnum( ProjectileLauncherRound self, CName onCollisionStimType );void SetLaunchModeBasedOnAction()RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "SetLaunchModeBasedOnAction;", (ProjectileLauncherRound_SetLaunchModeBasedOnAction x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_SetLaunchModeBasedOnAction( ProjectileLauncherRound self );game.data.ProjectileLaunchMode LaunchModeNameToEnum(CName launchModeName)RTTIre.Hooks.Place( "ProjectileLauncherRound", "LaunchModeNameToEnum;CName", (ProjectileLauncherRound_LaunchModeNameToEnum x) => { return re.Hooks.CallOriginal<re.msgpack.game.data.ProjectileLaunchMode>(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_LaunchModeNameToEnum( ProjectileLauncherRound self, CName launchModeName );void TriggerSingleStimuli(float radius, game.data.StimType stimToSend)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "TriggerSingleStimuli;FloatgamedataStimType", (ProjectileLauncherRound_TriggerSingleStimuli x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_TriggerSingleStimuli( ProjectileLauncherRound self, float radius, game.data.StimType stimToSend );void TriggerActiveStimuliWithLifetime(game.data.StimType stimToSend, float lifetime, float radius)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "TriggerActiveStimuliWithLifetime;gamedataStimTypeFloatFloat", (ProjectileLauncherRound_TriggerActiveStimuliWithLifetime x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_TriggerActiveStimuliWithLifetime( ProjectileLauncherRound self, game.data.StimType stimToSend, float lifetime, float radius );void LinearLaunch(game.projectile.ShootEvent eventData, float startVelocity)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "LinearLaunch;gameprojectileShootEventFloat", (ProjectileLauncherRound_LinearLaunch x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_LinearLaunch( ProjectileLauncherRound self, game.projectile.ShootEvent? eventData, float startVelocity );void ParabolicLaunch(game.projectile.ShootEvent eventData, float gravitySimulation, float startVelocity, float energyLossFactorAfterCollision)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "ParabolicLaunch;gameprojectileShootEventFloatFloatFloat", (ProjectileLauncherRound_ParabolicLaunch x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_ParabolicLaunch( ProjectileLauncherRound self, game.projectile.ShootEvent? eventData, float gravitySimulation, float startVelocity, float energyLossFactorAfterCollision );void CurvedLaunch(game.projectile.ShootEvent eventData, WeakHandle<game.Object>? targetObject, ent.IPlacedComponent? targetComponent, float startVelocity, float linearTimeRatio, float interpolationTimeRatio, float returnTimeMargin, float bendTimeRatio, float bendFactor, float halfLeanAngle, float endLeanAngle, float angleInterpolationDuration)RTTIre.Hooks.PlaceVoid( "ProjectileLauncherRound", "CurvedLaunch;gameprojectileShootEventGameObjectIPlacedComponentFloatFloatFloatFloatFloatFloatFloatFloatFloat", (ProjectileLauncherRound_CurvedLaunch x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ProjectileLauncherRound_CurvedLaunch( ProjectileLauncherRound self, game.projectile.ShootEvent? eventData, WeakHandle<game.Object>? targetObject, ent.IPlacedComponent? targetComponent, float startVelocity, float linearTimeRatio, float interpolationTimeRatio, float returnTimeMargin, float bendTimeRatio, float bendFactor, float halfLeanAngle, float endLeanAngle, float angleInterpolationDuration );