mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix some common SAO methods to not generate useless update packets
This commit is contained in:
parent
585ca90ae0
commit
c524c52baa
11 changed files with 160 additions and 85 deletions
|
@ -343,7 +343,7 @@ public:
|
|||
|
||||
void setLocalPlayerAnimations(RemotePlayer *player, v2s32 animation_frames[4],
|
||||
f32 frame_speed);
|
||||
void setPlayerEyeOffset(RemotePlayer *player, const v3f &first, const v3f &third, const v3f &third_front);
|
||||
void setPlayerEyeOffset(RemotePlayer *player, v3f first, v3f third, v3f third_front);
|
||||
|
||||
void setSky(RemotePlayer *player, const SkyboxParams ¶ms);
|
||||
void setSun(RemotePlayer *player, const SunParams ¶ms);
|
||||
|
@ -496,7 +496,7 @@ private:
|
|||
void SendHUDRemove(session_t peer_id, u32 id);
|
||||
void SendHUDChange(session_t peer_id, u32 id, HudElementStat stat, void *value);
|
||||
void SendHUDSetFlags(session_t peer_id, u32 flags, u32 mask);
|
||||
void SendHUDSetParam(session_t peer_id, u16 param, const std::string &value);
|
||||
void SendHUDSetParam(session_t peer_id, u16 param, std::string_view value);
|
||||
void SendSetSky(session_t peer_id, const SkyboxParams ¶ms);
|
||||
void SendSetSun(session_t peer_id, const SunParams ¶ms);
|
||||
void SendSetMoon(session_t peer_id, const MoonParams ¶ms);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue