mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-06 12:53:40 +00:00
17 lines
620 B
C++
17 lines
620 B
C++
#pragma once
|
|
|
|
#include "Item.h"
|
|
|
|
class LeashItem : public Item {
|
|
public:
|
|
LeashItem(int id);
|
|
|
|
bool useOn(std::shared_ptr<ItemInstance> itemInstance,
|
|
std::shared_ptr<Player> player, Level* level, int x, int y,
|
|
int z, int face, float clickX, float clickY, float clickZ,
|
|
bool bTestUseOnOnly = false);
|
|
static bool bindPlayerMobs(std::shared_ptr<Player> player, Level* level,
|
|
int x, int y, int z);
|
|
static bool bindPlayerMobsTest(std::shared_ptr<Player> player, Level* level,
|
|
int x, int y, int z);
|
|
}; |