Pickup constructor no longer exported
It didn't do anything without Initialize() exported, anyway, pickups are spawned with cWorld.
This commit is contained in:
parent
3583a58cf7
commit
01c723e89e
@ -13,6 +13,7 @@ class cExpOrb :
|
|||||||
typedef cExpOrb super;
|
typedef cExpOrb super;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
CLASS_PROTODEF(cExpOrb);
|
||||||
|
|
||||||
cExpOrb(double a_X, double a_Y, double a_Z, int a_Reward);
|
cExpOrb(double a_X, double a_Y, double a_Z, int a_Reward);
|
||||||
cExpOrb(const Vector3d & a_Pos, int a_Reward);
|
cExpOrb(const Vector3d & a_Pos, int a_Reward);
|
||||||
|
@ -14,8 +14,10 @@ class cFloater :
|
|||||||
typedef cFloater super;
|
typedef cFloater super;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//tolua_end
|
//tolua_end
|
||||||
|
|
||||||
|
CLASS_PROTODEF(cFloater);
|
||||||
|
|
||||||
cFloater(double a_X, double a_Y, double a_Z, Vector3d a_Speed, int a_PlayerID, int a_CountDownTime);
|
cFloater(double a_X, double a_Y, double a_Z, Vector3d a_Speed, int a_PlayerID, int a_CountDownTime);
|
||||||
|
|
||||||
virtual void SpawnOn(cClientHandle & a_Client) override;
|
virtual void SpawnOn(cClientHandle & a_Client) override;
|
||||||
|
@ -18,15 +18,16 @@ class cPlayer;
|
|||||||
class cPickup :
|
class cPickup :
|
||||||
public cEntity
|
public cEntity
|
||||||
{
|
{
|
||||||
// tolua_end
|
|
||||||
typedef cEntity super;
|
typedef cEntity super;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
// tolua_end
|
||||||
|
|
||||||
CLASS_PROTODEF(cPickup);
|
CLASS_PROTODEF(cPickup);
|
||||||
|
|
||||||
cPickup(double a_PosX, double a_PosY, double a_PosZ, const cItem & a_Item, bool IsPlayerCreated, float a_SpeedX = 0.f, float a_SpeedY = 0.f, float a_SpeedZ = 0.f); // tolua_export
|
cPickup(double a_PosX, double a_PosY, double a_PosZ, const cItem & a_Item, bool IsPlayerCreated, float a_SpeedX = 0.f, float a_SpeedY = 0.f, float a_SpeedZ = 0.f);
|
||||||
|
|
||||||
cItem & GetItem(void) {return m_Item; } // tolua_export
|
cItem & GetItem(void) {return m_Item; } // tolua_export
|
||||||
const cItem & GetItem(void) const {return m_Item; }
|
const cItem & GetItem(void) const {return m_Item; }
|
||||||
|
|
||||||
virtual void SpawnOn(cClientHandle & a_ClientHandle) override;
|
virtual void SpawnOn(cClientHandle & a_ClientHandle) override;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user