using System; namespace TGS.Server { /// /// Various events and their IDs in no particular order. Found in the Windows event log. These key incremented by 100 and are guaranteed to never be reused in the future. In the windows event viewer, these IDs will be offset by the to distinguish events between instances. Each event ID may be information, a warning, or error and will be documented accordingly. Warnings will occur due to user, data, or network errors. Errors will occur due to filesystem errors or hard faults /// public enum EventID : int { /// /// Info: When the bot recieves a (not necessarily valid) chat command /// ChatCommand = 100, /// /// Warning: When a fails to /// ChatConnectFail = 200, /// /// Error: When a fails to construct /// ChatProviderStartFail = 300, /// /// Error: When a bad is passed /// InvalidChatProvider = 400, /// /// Not in use anymore /// [Obsolete("Not in use anymore", true)] UpdateRequest = 500, /// /// Warning: When the BYOND updater cannot download a revision. Error: When the BYOND updater cannot unzip or apply a revision /// BYONDUpdateFail = 600, /// /// Info: When the BYOND updater successfully staged a revision but could not apply it due to the being active /// BYONDUpdateStaged = 700, /// /// Info: When the BYOND updater successfully applies an update /// BYONDUpdateComplete = 800, /// /// Error: Failed to move the with TGS.Interface.Components.ITGAdministration.MoveServer(string) /// [Obsolete("Not in use anymore", true)] ServerMoveFailed = 900, /// /// Warning: Failed to delete the old directory during a TGS.Interface.Components.ITGAdministration.MoveServer(string) operation /// [Obsolete("Not in use anymore", true)] ServerMovePartial = 1000, /// /// Info: Successful completion of a TGS.Interface.Components.ITGAdministration.MoveServer(string) operation /// [Obsolete("Not in use anymore", true)] ServerMoveComplete = 1100, /// /// Error: An internal error occurred during a operation /// DMCompileCrash = 1200, /// /// Error: An internal error occurred during a operation /// DMInitializeCrash = 1300, /// /// Warning: Compile failure of the target .dme in a operation /// DMCompileError = 1400, /// /// Info: Successful completion of a operation /// DMCompileSuccess = 1500, /// /// Info: Successful completion of a operation /// DMCompileCancel = 1600, /// /// Error: Failed to reattach the watchdog to a running DreamDaemon instance after a update /// DDReattachFail = 1700, /// /// Info: Successfully reattached the watchdog to a running DreamDaemon instance after a update /// DDReattachSuccess = 1800, /// /// Error: An internal error occurred while running the DreamDaemon watchdog /// DDWatchdogCrash = 1900, /// /// Info: The watchdog has exited, either for an or , or operation /// DDWatchdogExit = 2000, /// /// Not in use anymore /// [Obsolete("Not in use anymore", true)] DDWatchdogRebootedServer = 2100, /// /// Warning: DreamDaemon has crashed and the watchdog is attempting to reboot it /// DDWatchdogRebootingServer = 2200, /// /// Info: The watchdog is performing a operation /// DDWatchdogRestart = 2300, /// /// Info: Successful completion of a operation /// DDWatchdogRestarted = 2400, /// /// Info: Successful completion of a operation /// DDWatchdogStarted = 2500, /// /// Info: Successful completion of a operation /// [Obsolete("Not in use anymore", true)] ChatSend = 2600, /// /// Info: Successful completion of a operation /// [Obsolete("Not in use anymore", true)] ChatBroadcast = 2700, /// /// Not in use anymore /// [Obsolete("Not in use anymore", true)] ChatAdminBroadcast = 2800, /// /// Error: When an error occurs during a operation /// [Obsolete("Not in use anymore", true)] ChatDisconnectFail = 2900, /// /// Not in use anymore /// [Obsolete("Not in use anymore", true)] TopicSent = 3000, /// /// Not in use anymore /// [Obsolete("Not in use anymore", true)] TopicFailed = 3100, /// /// Info: When the has been generated /// CommsKeySet = 3200, /// /// Not in use anymore /// [Obsolete("Not in use anymore", true)] NudgeStartFail = 3300, /// /// Not in use anymore /// [Obsolete("Not in use anymore", true)] NudgeCrash = 3400, /// /// Info: Successful completion of a operation /// RepoClone = 3500, /// /// Warning: An error occurred during a operation /// RepoCloneFail = 3600, /// /// Info: Successful completion of a operation /// RepoCheckout = 3700, /// /// Warning: An error occurred during a operation /// RepoCheckoutFail = 3800, /// /// Info: Successful completion of a operation with a parameter /// RepoHardUpdate = 3900, /// /// Warning: An error occurred during a operation with a parameter /// RepoHardUpdateFail = 4000, /// /// Info: Successful completion of a operation with a parameter /// RepoMergeUpdate = 4100, /// /// Warning: An error occurred during a operation with a parameter /// RepoMergeUpdateFail = 4200, /// /// Info: A backup tag of the repository in it's current state was successfully created /// RepoBackupTag = 4300, /// /// Warning: A backup tag of the repository in it's current state failed to be created /// RepoBackupTagFail = 4400, /// /// Info: Successful completion of a operation with a parameter /// RepoResetTracked = 4500, /// /// Warning: An error occurred during a operation with a parameter /// RepoResetTrackedFail = 4600, /// /// Info: Successful completion of a operation with a parameter /// RepoReset = 4700, /// /// Warning: An error occurred during a operation with a parameter /// RepoResetFail = 4800, /// /// Error: Failed to update or delete the testmerged PR list /// RepoPRListError = 4900, /// /// Info: Successful completion of a operation /// RepoPRMerge = 5000, /// /// Warning: An error occurred during a operation /// RepoPRMergeFail = 5100, /// /// Info: Successfully committed the paths specified in the synchronize_directories field of the 's TGS3.json /// RepoCommit = 5200, /// /// Warning: An error occurred while committing the paths specified in the synchronize_directories field of the 's TGS3.json /// RepoCommitFail = 5300, /// /// Info: Successful completion of a operation /// RepoPush = 5400, /// /// Warning: An error occurred during a operation /// RepoPushFail = 5500, /// /// Info: Successful completion of a operation /// RepoChangelog = 5600, /// /// Warning: An error occurred during a operation /// RepoChangelogFail = 5700, /// /// Info: When the dll is updated for the /// BridgeDLLUpdated = 5800, /// /// Error: An error occurred while updating the dll for the /// BridgeDLLUpdateFail = 5900, /// /// Error: An error occurred while starting the /// InstanceInitializationFailure = 6000, /// /// Error: When an exception occurs while the is stopping /// ServiceShutdownFail = 6100, /// /// Info: When the reboots in BYOND /// WorldReboot = 6200, /// /// Info: When the output of is applied to the live /// ServerUpdateApplied = 6300, /// /// Warning: When an exception occurs during a operation /// ChatBroadcastFail = 6400, /// /// Not in use anymore /// [Obsolete("Not in use anymore", true)] IRCLogModes = 6500, /// /// Warning: When the Repository submodule handler has to reclone a submodule entirely. This is a long operation and is due to an upstream bug /// Error: When a submodule update operation fails completely /// Submodule = 6600, /// /// This event is of type or . It occurs when a user different from the previous one tries and either succeeds or fails to access a . DreamDaemon itself successfully accessing will not trigger this /// Authentication = 6700, /// /// Info: When a Preaction event successfully completes /// PreactionEvent = 6800, /// /// Warning: When a Preaction event fails /// PreactionFail = 6900, /// /// Warning: When a command from DreamDaemon fails /// InteropCallException = 7000, /// /// Warning: When the running DreamDaemon code does not have the correct API to talk to the /// APIVersionMismatch = 7100, /// /// Warning: If a .dll in the repository's TGS3.json could not be found. Error: If a symlink could not be established to a static .dll or directory /// RepoConfigurationFail = 7200, /// /// Info: Successfully read of a static path. Warning: An error occurred during a read of a static path /// StaticRead = 7300, /// /// Info: Successfully write of a static path. Warning: An error occurred during a write of a static path /// StaticWrite = 7400, /// /// Info: Successfully delete of a static path. Warning: An error occurred during a delete of a static path /// StaticDelete = 7500, /// /// Info: When an instance's logging ID is first assigned /// InstanceIDAssigned = 7600, /// /// Info: When a testmerge commit is published /// Warning: When a testmerge commit failed to be published /// ReferencePush = 7700, } }