DPB2Class · World, character and items

ProjectileSnapshot

Captured observation in world units, not grid units or a collision prediction.

Namespace: DreamPoeBot.Loki.Components

public class ProjectileSnapshot

Members and overloads

8 results

GetPointAlongTrajectory

MethodLink ↗
public Vector2 ProjectileSnapshot.GetPointAlongTrajectory(float distance)

Point at a signed world-space distance; NaN when unavailable.

distancefloat
Specifies distance.

Returns: The Vector2 result.

CasterAddress

PropertyLink ↗
public long ProjectileSnapshot.CasterAddress { get; }

Gets caster address for ProjectileSnapshot.

CasterId

PropertyLink ↗
public int ProjectileSnapshot.CasterId { get; }

Gets caster id for ProjectileSnapshot.

Center

PropertyLink ↗
public Vector2 ProjectileSnapshot.Center { get; }

Gets center for ProjectileSnapshot.

Direction

PropertyLink ↗
public Vector2 ProjectileSnapshot.Direction { get; }

Unit XY direction: (sin(rotation), -cos(rotation)).

HasCaster

PropertyLink ↗
public bool ProjectileSnapshot.HasCaster { get; }

Whether caster is present.

HasTrajectory

PropertyLink ↗
public bool ProjectileSnapshot.HasTrajectory { get; }

Whether trajectory is present.

IsAvailable

PropertyLink ↗
public bool ProjectileSnapshot.IsAvailable { get; }

Whether this projectile snapshot is available.

DPB2 0.4.5.88 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.