Table of Contents

Method GetRecentEvents

Namespace
GrindFest.GameMaster.Helpers
Assembly
GrindFest.dll

GetRecentEvents(int)

Gets the recent event history. ZERO-ALLOCATION: Returns cached array instead of allocating new one.

public EventLogger.GameEvent[] GetRecentEvents(int count = 20)

Parameters

count int

Maximum number of events to return (default: 20)

Returns

GameEvent[]

Array of recent game events