ConsoleEvent
Show declaration
struct ConsoleEvent clearScope version("2.4");
The information for a StaticEventHandler.ConsoleProcess or
StaticEventHandler.NetworkProcess event.
Instance Members
-
readOnly int Player
-
The player who created this event, or
-1if there was no activator. This will always be positive forStaticEventHandler.NetworkProcessevents and always-1forStaticEventHandler.ConsoleProcessevents.
-
readOnly string Name
-
The name as provided to
StaticEventHandler.SendNetworkEvent. Use this to distinguish between event types. It is favorable to prefix names with the name of your mod or game so that it will not potentially conflict with other mods.
-
readOnly int[3] Args
-
The arguments as provided to
StaticEventHandler.SendNetworkEvent.
-
readOnly bool IsManual
-
trueif this event was created manually, for instance through a console command.