KillEvent

Inherits from MetricEvent

Summary

Constructors

KillEvent()
KillEvent(guid: Guid)
KillEvent(other: MetricEvent)
KillEvent(other: DataContainer)

Properties

Name Type
position Vec3
victimPosition Vec3
victimId int
time float
weapon string

Static members

Name Type
KillEvent.typeInfo TypeInformation

Constructors

KillEvent

KillEvent()

Creates a new KillEvent frostbite instance.

KillEvent

KillEvent(guid: Guid)

Creates a new KillEvent frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

KillEvent

KillEvent(other: MetricEvent)

Casts an instance of type MetricEvent to KillEvent. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other MetricEvent The instance to cast to KillEvent.

KillEvent

KillEvent(other: DataContainer)

Casts an instance of type DataContainer to KillEvent. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to KillEvent.

Properties

position

Vec3

victimPosition

Vec3

victimId

int

time

float

weapon

string

Static members

typeInfo

TypeInformation

The type information for the KillEvent type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351)