Use BfRead tag in umsg hook typedef, rather than a generic Handle.
This commit is contained in:
parent
42956c0a10
commit
89119880b5
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user