swiftlys2/docs/api/ai/
API Reference GameHooks

GroundAccelerateMovementParams

Struct
Namespace: SwiftlyS2.Shared.GameHooks · Assembly: SwiftlyS2.CS2.dll
public struct GroundAccelerateMovementParams
View source

Properties

Acceleration

The acceleration value. Modifications are passed to the original function.

public required float Acceleration { readonly get; set; }
Property Value

FrameTime

The frame time. Read-only.

public required float FrameTime { readonly get; init; }
Property Value

MoveData

public required IMoveData MoveData { readonly get; init; }
Property Value

Player

public required IPlayer Player { readonly get; set; }
Property Value

WishDirection

The wish direction vector. Wraps a native pointer — modifications are written back to native memory.

public required Vector WishDirection { readonly get; set; }
Property Value

WishSpeed

The wish speed. Modifications are passed to the original function.

public required float WishSpeed { readonly get; set; }
Property Value