API Reference › GameHooks
AcceptInputEntityParams
StructNamespace: SwiftlyS2.Shared.GameHooks · Assembly: SwiftlyS2.CS2.dll
public struct AcceptInputEntityParamsProperties
The activator of the input, or null when none was provided.
public required CEntityInstance? Activator { readonly get; init; }Property Value
The caller of the input, or null when none was provided.
public required CEntityInstance? Caller { readonly get; init; }Property Value
The designer name of the entity.
public required string DesignerName { readonly get; init; }Property Value
The entity instance the input is being sent to.
public required CEntityInstance EntityInstance { readonly get; init; }Property Value
The entity identity whose AcceptInput function was called.
public required CEntityIdentity Identity { readonly get; init; }Property Value
The name of the input being accepted.
public required string InputName { readonly get; init; }Property Value
The output ID of the input being accepted.
public required int OutputId { readonly get; init; }Property Value
The variant value of the input. Modifications are written to native memory.
public ref CVariant<CVariantDefaultAllocator> VariantValue { get; }Property Value