Skip to content

interception.discord

wristcry edited this page Jul 8, 2026 · 1 revision

class discord_constants

Constants used for sending a Discord webhook

Fields

public const int WEBHOOK_USERNAME_MAX_LEN = 80;

class cron_manager

todo: description

Delegates

public delegate void on_cron_event_executed_global_callback(cron_event _event)

Delegate for on_cron_event_executed_global event

Parameter Description
_event Event that was executed

Events

public static on_cron_event_executed_global_callback on_cron_event_executed_global

Called after any cron_event was executed

Methods

public static void register_event(cron_event _event)

Register event

Parameter Description
_event Event to execute
Exception Description
ArgumentException Event with name defined in _event was already registered

public static void unregister_event(string name)

Unregister event

Parameter Description
name Name of the event to unregister
Exception Description
ArgumentException Event with name was never registered

public static bool is_event_exist(string name)

Returns: true if event with name is currently registered, otherwise false

Parameter Description
name Name of the event

public static cron_event find_event(string name)

Returns: cron_event if event with name is currently registered, otherwise null

Parameter Description
name Name of the event to find

Clone this wiki locally