Interface ICustomEventView

Namespace
SurvivorsMaker.Presentation
Assembly
SurvivorsMaker.Presentation.dll

Shows one game-defined event (CustomId). Register it with RegisterCustomEvent(string, ICustomEventView). Called once per event during the fixed tick, after the built-in visuals. Read the world; never change it. Sounds for custom ids come from CustomEvents, simple effects from CustomEvents.

public interface ICustomEventView

Methods

Show(SimEvent, SimWorld, WorldView)

Displays the supplied event without mutating the world; consume it during this dispatch and do not retain pooled entities.

void Show(SimEvent value, SimWorld world, WorldView view)

Parameters

value SimEvent
world SimWorld
view WorldView