blob: 3fab1dded5e9b7ed672b562755b60285ebe94fe1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#pragma once
#include "..\Minecraft.World\SmoothFloat.h"
#include "..\Minecraft.World\net.minecraft.world.entity.player.h"
class Input;
class RemotePlayer : public Player
{
public:
eINSTANCEOF GetType() { return eTYPE_REMOTEPLAYER; }
private:
bool hasStartedUsingItem;
public:
Input *input;
RemotePlayer(Level *level, const wstring& name);
protected:
virtual void setDefaultHeadHeight();
public:
virtual bool hurt(DamageSource *source, float dmg);
private:
int lSteps;
double lx, ly, lz, lyr, lxr;
public:
virtual void lerpTo(double x, double y, double z, float yRot, float xRot, int steps);
float fallTime;
virtual void tick();
virtual float getShadowHeightOffs();
virtual void aiStep();
virtual void setEquippedSlot(int slot, shared_ptr<ItemInstance> item);// 4J Stu - Brought forward change from 1.3 to fix #64688 - Customer Encountered: TU7: Content: Art: Aura of enchanted item is not displayed for other players in online game
virtual void animateRespawn();
virtual float getHeadHeight();
bool hasPermission(EGameCommand command) { return false; }
virtual Pos getCommandSenderWorldPosition();
};
|