Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
|
#include <player.h>
Public Member Functions | |
Player ()=default | |
Construct a new Player object. | |
~Player () override=default | |
Destroy the Player object. | |
void | sendMessage (const ChatMessage &message) override |
Sends a message to a player. | |
Public Member Functions inherited from ILiving | |
~ILiving () override=default | |
Destroy the ILiving object. | |
Public Member Functions inherited from IEntity | |
virtual | ~IEntity ()=default |
Destroy the IEntity object. | |
Static Public Member Functions | |
static void | loadLua (lua_State *state, const char *namespaceName) |
Loads the Player class to a Lua one. | |
Static Public Member Functions inherited from ILiving | |
static void | loadLua (lua_State *state, const char *namespaceName) |
Loads the ILiving class to a Lua one. | |
Static Public Member Functions inherited from IEntity | |
static void | loadLua (lua_State *state, const char *namespaceName) |
Loads the IEntity class to a Lua one. | |
Public Attributes | |
std::string | name |
Name of the player. | |
Public Attributes inherited from IEntity | |
Vecf | position |
Position of the entity. | |
Angle | yaw |
Yaw angle of the entity. | |
Angle | pitch |
Pitch angle of the entity. | |
MinecraftUUID | uuid |
MinecraftUUID of the entity. | |
Player object.
Represents a player on the server, as a living entity.
Loads the Player class to a Lua one.
state | the state to load to |
namespaceName | the namespace to load to |
|
inlineoverridevirtual |
std::string Player::name |
Name of the player.
Also called the username or tag