From dd60f55bccd603650906d5025f689a82d00b3718 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Sun, 11 Aug 2013 14:57:07 +0200 Subject: Added the OnHopperPullingItem and OnHopperPushingItem hooks. Requested in FS 412, slightly modified the params. --- source/LuaState.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/LuaState.h') diff --git a/source/LuaState.h b/source/LuaState.h index 2ef1cdf41..50b5b6fcf 100644 --- a/source/LuaState.h +++ b/source/LuaState.h @@ -53,6 +53,8 @@ struct HTTPTemplateRequest; class cTNTEntity; class cCreeper; class Vector3i; +class cHopperEntity; +class cBlockEntity; @@ -178,6 +180,8 @@ public: void Push(cCreeper * a_Creeper); void Push(Vector3i * a_Vector); void Push(void * a_Ptr); + void Push(cHopperEntity * a_Hopper); + void Push(cBlockEntity * a_BlockEntity); /// Call any 0-param 0-return Lua function in a single line: template -- cgit v1.2.3