static HookPoints() { PreApplyServerSideCharacter = new HookPoint<HookArgs.PreApplyServerSideCharacter>("pre-apply-server-side-character"); PostApplyServerSideCharacter = new HookPoint<HookArgs.PostApplyServerSideCharacter>("post-apply-server-side-character"); }
static HookPoints() { PreApplyServerSideCharacter = new HookPoint<HookArgs.PreApplyServerSideCharacter>("pre-apply-server-side-character"); PostApplyServerSideCharacter = new HookPoint<HookArgs.PostApplyServerSideCharacter>("post-apply-server-side-character"); PlayerRegistered = new HookPoint<HookArgs.PlayerRegistered>("player-registered"); }
static HookPoints() { // DatabaseInitialise = new HookPoint<HookArgs.DatabaseInitialise>("database-initialise"); ConsoleMessageReceived = new HookPoint<HookArgs.ConsoleMessageReceived>("console-message-received"); // UnknownReceivedPacket = new HookPoint<HookArgs.UnknownReceivedPacket>("unknown-receive-packet"); // UnknownSendPacket = new HookPoint<HookArgs.UnknownSendPacket>("unknown-send-packet"); //PlayerTeleport = new HookPoint<HookArgs.PlayerTeleport>("player-teleport"); ServerStateChange = new HookPoint<HookArgs.ServerStateChange>("server-state-change"); NewConnection = new HookPoint<HookArgs.NewConnection>("new-connection"); PluginLoadRequest = new HookPoint<HookArgs.PluginLoadRequest>("plugin-load-request"); ConnectionRequestReceived = new HookPoint<HookArgs.ConnectionRequestReceived>("connection-request-received"); DisconnectReceived = new HookPoint<HookArgs.DisconnectReceived>("disconnect-received"); ServerPassReceived = new HookPoint<HookArgs.ServerPassReceived>("server-pass-received"); PlayerPassReceived = new HookPoint<HookArgs.PlayerPassReceived>("player-pass-received"); PlayerDataReceived = new HookPoint<HookArgs.PlayerDataReceived>("player-data-received"); StateUpdateReceived = new HookPoint<HookArgs.StateUpdateReceived>("state-update-received"); InventoryItemReceived = new HookPoint<HookArgs.InventoryItemReceived>("inventory-item-received"); ObituaryReceived = new HookPoint<HookArgs.ObituaryReceived>("obituary-received"); PlayerWorldAlteration = new HookPoint<HookArgs.PlayerWorldAlteration>("player-world-alteration"); DoorStateChanged = new HookPoint<HookArgs.DoorStateChanged>("door-state-changed"); LiquidFlowReceived = new HookPoint<HookArgs.LiquidFlowReceived>("liquid-flow-received"); ProjectileReceived = new HookPoint<HookArgs.ProjectileReceived>("projectile-received"); KillProjectileReceived = new HookPoint<HookArgs.KillProjectileReceived>("kill-projectile-received"); TileSquareReceived = new HookPoint<HookArgs.TileSquareReceived>("tile-square-received"); ChestBreakReceived = new HookPoint<HookArgs.ChestBreakReceived>("chest-break-received"); ChestOpenReceived = new HookPoint<HookArgs.ChestOpenReceived>("chest-open-received"); PvpSettingReceived = new HookPoint<HookArgs.PvpSettingReceived>("pvp-setting-received"); PartySettingReceived = new HookPoint<HookArgs.PartySettingReceived>("party-setting-received"); PlayerEnteringGame = new HookPoint<HookArgs.PlayerEnteringGame>("player-entering-game"); PlayerEnteredGame = new HookPoint<HookArgs.PlayerEnteredGame>("player-entered-game"); PlayerLeftGame = new HookPoint<HookArgs.PlayerLeftGame>("player-left-game"); PlayerAuthenticationChanging = new HookPoint<HookArgs.PlayerAuthenticationChanging>("player-auth-changing"); PlayerAuthenticationChanged = new HookPoint<HookArgs.PlayerAuthenticationChanged>("player-auth-change"); //Explosion = new HookPoint<HookArgs.Explosion>("explosion"); SignTextSet = new HookPoint<HookArgs.SignTextSet>("sign-text-set"); SignTextGet = new HookPoint<HookArgs.SignTextGet>("sign-text-get"); PluginsLoaded = new HookPoint<HookArgs.PluginsLoaded>("plugins-loaded"); //WorldLoaded = new HookPoint<HookArgs.WorldLoaded>("world-loaded"); PlayerHurt = new HookPoint<HookArgs.PlayerHurt>("player-hurt"); NpcHurt = new HookPoint<HookArgs.NpcHurt>("npc-hurt"); //NpcCreation = new HookPoint<HookArgs.NpcCreation>("npc-creation"); PlayerTriggeredEvent = new HookPoint<HookArgs.PlayerTriggeredEvent>("player-triggered-event"); PlayerChat = new HookPoint<HookArgs.PlayerChat>("player-chat"); Command = new HookPoint<HookArgs.Command>("command"); //WorldGeneration = new HookPoint<HookArgs.WorldGeneration>("world-generation"); WorldRequestMessage = new HookPoint<HookArgs.WorldRequestMessage>("world-request-message"); // StartDefaultServer = new HookPoint<HookArgs.StartDefaultServer>("start-default-server"); //StatusTextChanged = new HookPoint<HookArgs.StatusTextChanged>("status-text-changed"); SendNetMessage = new HookPoint<HookArgs.SendNetMessage>("send-net-message"); ReceiveNetMessage = new HookPoint<HookArgs.ReceiveNetMessage>("receive-net-message"); //UpdateServer = new HookPoint<HookArgs.UpdateServer>("update-server"); ProgramStart = new HookPoint<HookArgs.ProgramStart>("program-start"); StartCommandProcessing = new HookPoint<HookArgs.StartCommandProcessing>("start-command-processing"); ConfigurationLine = new HookPoint<HookArgs.ConfigurationLine>("config-line"); AddBan = new HookPoint<HookArgs.AddBan>("add-ban"); NPCSpawn = new HookPoint<HookArgs.NPCSpawn>("npc-spawn"); InvasionNPCSpawn = new HookPoint<HookArgs.InvasionNPCSpawn>("invasion-npc-spawn"); PlayerPreGreeting = new HookPoint<HookArgs.PlayerPreGreeting>("player-pre-greeting"); NPCKilled = new HookPoint<HookArgs.NPCKilled>("npc-killed"); InvasionWarning = new HookPoint<HookArgs.InvasionWarning>("invasion-warning"); ParseCommandLineArguments = new HookPoint<HookArgs.ParseCommandLineArguments>("parse-cmd-args"); DeathMessage = new HookPoint<HookArgs.DeathMessage>("death-message"); PlayerKilled = new HookPoint<HookArgs.PlayerKilled>("player-killed"); //Client hooks Draw = new HookPoint<HookArgs.Draw>("draw"); Update = new HookPoint<HookArgs.Update>("update"); UpdateClient = new HookPoint<HookArgs.UpdateClient>("update-client"); WorldAutoSave = new HookPoint<HookArgs.WorldAutoSave>("world-auto-save"); }