From 2691e8daed826e944ca38f4787c77273edbf9404 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 18 Aug 2012 09:56:28 +0000 Subject: Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects. This breaks plugin API! Plugins need to modify their hook functions to match those used in the Core plugin git-svn-id: http://mc-server.googlecode.com/svn/trunk@750 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cCreativeInventory.h | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'source/cCreativeInventory.h') diff --git a/source/cCreativeInventory.h b/source/cCreativeInventory.h index f38c02c6c..469f0ecd6 100644 --- a/source/cCreativeInventory.h +++ b/source/cCreativeInventory.h @@ -1,13 +1,22 @@ + #pragma once #include "cInventory.h" -class cCreativeInventory //tolua_export + + + + +class cCreativeInventory : public cInventory -{ //tolua_export +{ public: - cCreativeInventory(cPlayer* a_Owner); + cCreativeInventory(cPlayer * a_Owner); ~cCreativeInventory(); - virtual void Clicked( cPacket* a_ClickPacket ); -}; //tolua_export + virtual void Clicked(short a_SlotNum, bool a_IsRightClick, bool a_IsShiftPressed, const cItem & a_HeldItem) override; +} ; + + + + -- cgit v1.2.3