mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 17:35:37 +02:00
Basic camera control API (#15796)
This commit is contained in:
@@ -45,6 +45,7 @@ class BanManager;
|
||||
class Inventory;
|
||||
class ModChannelMgr;
|
||||
class RemotePlayer;
|
||||
class Player;
|
||||
class PlayerSAO;
|
||||
struct PlayerHPChangeReason;
|
||||
class IRollbackManager;
|
||||
@@ -409,6 +410,7 @@ public:
|
||||
void SendMovePlayerRel(session_t peer_id, const v3f &added_pos);
|
||||
void SendPlayerSpeed(session_t peer_id, const v3f &added_vel);
|
||||
void SendPlayerFov(session_t peer_id);
|
||||
void SendCamera(session_t peer_id, Player *player);
|
||||
|
||||
void SendMinimapModes(session_t peer_id,
|
||||
std::vector<MinimapMode> &modes,
|
||||
@@ -546,6 +548,7 @@ private:
|
||||
void SendCloudParams(session_t peer_id, const CloudParams ¶ms);
|
||||
void SendOverrideDayNightRatio(session_t peer_id, bool do_override, float ratio);
|
||||
void SendSetLighting(session_t peer_id, const Lighting &lighting);
|
||||
|
||||
void broadcastModChannelMessage(const std::string &channel,
|
||||
const std::string &message, session_t from_peer);
|
||||
|
||||
|
Reference in New Issue
Block a user