Table of Contents

Interface IModEvents

Namespace
SkyrimForge
Assembly
SkyrimForge.dll

Sends mod events. Every registration for an event's name receives it, including the sending plugin's own.

public interface IModEvents

Remarks

IGameEvents.OnModCallback is the other direction, so a plugin can both send and receive.

Methods

Send(string, string, float, IForm?)

Broadcasts eventName with whatever the sender and its listeners agreed the arguments mean.

void Send(string eventName, string stringArgument = "", float numberArgument = 0, IForm? sender = null)

Parameters

eventName string
stringArgument string
numberArgument float
sender IForm

Exceptions

ArgumentNullException

eventName or stringArgument is null.