Added a hook for TNT.

This commit is contained in:
Shank 2011-05-30 01:58:22 -06:00
parent 45c7e6e830
commit c61a4b6aca
2 changed files with 6 additions and 0 deletions

View file

@ -62,6 +62,12 @@ namespace TShockAPI
GameHooks.OnLoadContent += new Action<Microsoft.Xna.Framework.Content.ContentManager>(OnLoadContent);
ServerHooks.OnChat += new Action<int, string, HandledEventArgs>(OnChat);
ServerHooks.OnJoin += new Action<int, AllowEventArgs>(OnJoin);
NetHooks.OnPreGetData += new NetHooks.GetDataD(OnPreGetData);
}
void OnPreGetData(byte id, messageBuffer msg, int idx, int length, HandledEventArgs e)
{
throw new NotImplementedException();
}