Use BfRead tag in umsg hook typedef, rather than a generic Handle.

This commit is contained in:
Ryan Stecker 2015-01-13 21:33:11 -06:00
parent 42956c0a10
commit 89119880b5

View File

@ -163,7 +163,7 @@ native EndMessage();
* blocks the message from being sent, and Plugin_Continue * blocks the message from being sent, and Plugin_Continue
* resumes normal functionality. * resumes normal functionality.
*/ */
typedef MsgHook = function Action (UserMsg msg_id, Handle msg, const int[] players, int playersNum, bool reliable, bool init); typedef MsgHook = function Action (UserMsg msg_id, BfRead msg, const int[] players, int playersNum, bool reliable, bool init);
/** /**
* Called when a message hook has completed. * Called when a message hook has completed.