11 [EventScript(
"RepoResetOrigin")]
17 [EventScript(
"RepoCheckout")]
23 [EventScript(
"RepoFetch")]
29 [EventScript(
"RepoMergePullRequest")]
36 [EventScript(
"PreSynchronize")]
42 [EventScript(
"ByondInstallStart",
"EngineInstallStart")]
48 [EventScript(
"ByondInstallFail",
"EngineInstallFail")]
54 [EventScript(
"ByondActiveVersionChange",
"EngineActiveVersionChange")]
60 [EventScript(
"PreCompile")]
66 [EventScript(
"CompileCancelled")]
72 [EventScript(
"CompileFailure")]
78 [EventScript(
"PostCompile")]
84 [EventScript(
"InstanceAutoUpdateStart")]
90 [EventScript(
"RepoMergeConflict")]
96 [EventScript(
"DeploymentComplete")]
102 [EventScript(
"WatchdogShutdown")]
108 [EventScript(
"WatchdogDetach")]
114 [EventScript(
"WatchdogLaunch")]
120 [EventScript(
"WatchdogCrash")]
126 [EventScript(
"WorldEndProcess")]
132 [EventScript(
"WorldReboot")]
138 [EventScript(
"WorldPrime")]
144 [EventScript(
"DreamDaemonLaunch")]
150 [EventScript(
"RepoSubmoduleUpdate")]
156 [EventScript(
"PreDreamMaker")]
162 [EventScript(
"DeploymentCleanup")]
168 [EventScript(
"DeploymentActivation")]
174 [EventScript(
"EngineInstallComplete")]
EventType
Types of events. Mirror in tgs.dm. Prefer last listed name for script.
@ EngineInstallComplete
Parameters: Version being installed.
@ RepoPreSynchronize
Parameters: Absolute path to repository root.
@ DreamDaemonLaunch
After DD has launched. Not the same as WatchdogLaunch. Parameters: PID of DreamDaemon.
@ RepoResetOrigin
Parameters: Reference name, commit sha.
@ CompileComplete
Parameters: Game directory path, engine version string.
@ RepoSubmoduleUpdate
After a single submodule update is performed. Parameters: Updated submodule name.
@ WatchdogDetach
Before the watchdog detaches. No parameters.
@ WatchdogLaunch
Before the watchdog launches. No parameters.
@ WatchdogShutdown
Before the watchdog shuts down. Not sent for graceful shutdowns. No parameters.
@ EngineInstallStart
Parameters: Version being installed.
@ WorldEndProcess
In between watchdog DreamDaemon restarts if the process has been force-ended by the DMAPI (TgsEndProc...
@ PreDreamMaker
After CodeModifications are applied, before DreamMaker is run. Parameters: Game directory path,...
@ RepoMergeConflict
Parameters: Base sha, target sha, base reference, target reference, all conflicting files.
@ DeploymentComplete
No parameters.
@ WorldPrime
Watchdog event when DM code calls TgsInitializationsComplete(). No parameters.
@ DeploymentActivation
Whenever a deployment is about to be used by the game server. May fire multiple times per deployment....
@ CompileCancelled
No parameters.
@ RepoAddTestMerge
Parameters: Test merge number, test merge target sha, merger message.
@ CompileFailure
Parameters: Game directory path, "1" if compile succeeded and api validation failed,...
@ RepoCheckout
Parameters: Checkout target, hard reset flag (If "True", this is actually a hard reset,...
@ RepoFetch
No parameters.
@ CompileStart
After the repo is copied, before CodeModifications are applied. Parameters: Game directory path,...
@ EngineInstallFail
Parameters: Error string.
@ EngineActiveVersionChange
Parameters: Old active version, new active version.
@ WatchdogCrash
Watchdog event when DreamDaemon exits unexpectedly. No parameters.
@ DeploymentCleanup
Whenever a deployment folder is deleted from disk. Parameters: Game directory path.
@ InstanceAutoUpdateStart
No parameters.
@ WorldReboot
Watchdog event when TgsReboot() is called. Not synchronous. Called after WorldEndProcess....