103 for (
int i = 0; i < 4; i++)
110 for (
int i = 0; i < 4; i++)
bool checkModified() const
Definition inventory.h:348
Definition database-files.h:17
Definition player_sao.h:56
v2f local_animations[4]
Definition player.h:189
s32 hud_hotbar_itemcount
Definition player.h:225
Inventory inventory
Definition player.h:174
float local_animation_speed
Definition player.h:190
Definition remoteplayer.h:26
const SunParams & getSunParams() const
Definition remoteplayer.h:80
std::string hud_hotbar_image
Definition remoteplayer.h:145
const Lighting & getLighting() const
Definition remoteplayer.h:117
session_t m_peer_id
Definition remoteplayer.h:157
RemotePlayer(const std::string &name, IItemDefManager *idef)
Definition remoteplayer.cpp:25
bool checkModified() const
Definition remoteplayer.h:97
void setHotbarItemcount(s32 hotbar_itemcount)
Definition remoteplayer.h:38
const CloudParams & getCloudParams() const
Definition remoteplayer.h:95
void setCloudParams(const CloudParams &cloud_params)
Definition remoteplayer.h:90
const std::string & getHotbarImage() const
Definition remoteplayer.h:59
void setModified(const bool x)
Definition remoteplayer.h:99
void setHotbarImage(const std::string &name)
Definition remoteplayer.h:57
session_t getPeerId() const
returns PEER_ID_INEXISTENT when PlayerSAO is not ready
Definition remoteplayer.h:125
const MoonParams & getMoonParams() const
Definition remoteplayer.h:84
u16 m_message_rate_overhead
Definition remoteplayer.h:141
CloudParams m_cloud_params
Definition remoteplayer.h:148
void getDayNightRatio(bool *do_override, float *ratio)
Definition remoteplayer.h:51
RemotePlayerChatResult canSendChatMessage()
Definition remoteplayer.cpp:63
const StarParams & getStarParams() const
Definition remoteplayer.h:88
void setPeerId(session_t peer_id)
Definition remoteplayer.h:127
SunParams m_sun_params
Definition remoteplayer.h:151
const SkyboxParams & getSkyParams() const
Definition remoteplayer.h:76
void setLighting(const Lighting &lighting)
Definition remoteplayer.h:115
SkyboxParams m_skybox_params
Definition remoteplayer.h:150
s32 getHotbarItemcount() const
Definition remoteplayer.h:43
bool m_dirty
Definition remoteplayer.h:133
void setPlayerSAO(PlayerSAO *sao)
Definition remoteplayer.h:34
static u16 m_setting_chat_message_limit_trigger_kick
Definition remoteplayer.h:137
bool m_day_night_ratio_do_override
Definition remoteplayer.h:143
StarParams m_star_params
Definition remoteplayer.h:153
Lighting m_lighting
Definition remoteplayer.h:155
void setLocalAnimations(v2f frames[4], float frame_speed)
Definition remoteplayer.h:101
u32 m_last_chat_message_sent
Definition remoteplayer.h:139
PlayerSAO * m_sao
Definition remoteplayer.h:132
void setStars(const StarParams &star_params)
Definition remoteplayer.h:86
void setHotbarSelectedImage(const std::string &name)
Definition remoteplayer.h:61
u16 formspec_version
Definition remoteplayer.h:122
void setDirty(bool dirty)
Definition remoteplayer.h:119
void setSun(const SunParams &sun_params)
Definition remoteplayer.h:78
float m_chat_message_allowance
Definition remoteplayer.h:140
void getLocalAnimations(v2f *frames, float *frame_speed)
Definition remoteplayer.h:108
static bool m_setting_cache_loaded
Definition remoteplayer.h:135
static float m_setting_chat_message_limit_per_10sec
Definition remoteplayer.h:136
float m_day_night_ratio
Definition remoteplayer.h:144
PlayerSAO * getPlayerSAO()
Definition remoteplayer.h:33
virtual ~RemotePlayer()
Definition remoteplayer.cpp:57
void onSuccessfulSave()
Definition remoteplayer.cpp:102
void setSky(const SkyboxParams &skybox_params)
Definition remoteplayer.h:71
const std::string & getHotbarSelectedImage() const
Definition remoteplayer.h:66
void setMoon(const MoonParams &moon_params)
Definition remoteplayer.h:82
void overrideDayNightRatio(bool do_override, float ratio)
Definition remoteplayer.h:45
u16 protocol_version
Definition remoteplayer.h:121
std::string hud_hotbar_selected_image
Definition remoteplayer.h:146
MoonParams m_moon_params
Definition remoteplayer.h:152
#define PEER_ID_INEXISTENT
Definition constants.h:19
core::vector2d< f32 > v2f
Definition irr_v2d.h:11
u16 session_t
Definition networkprotocol.h:22
RemotePlayerChatResult
Definition remoteplayer.h:16
@ RPLAYER_CHATRESULT_OK
Definition remoteplayer.h:17
@ RPLAYER_CHATRESULT_KICK
Definition remoteplayer.h:19
@ RPLAYER_CHATRESULT_FLOODING
Definition remoteplayer.h:18
Definition skyparams.h:65
Describes ambient light settings for a player.
Definition lighting.h:39
Definition skyparams.h:48
Definition skyparams.h:20
Definition skyparams.h:56
Definition skyparams.h:38