16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 04:19:19 +02:00

reformat: functions can be made static

This commit is contained in:
jerrrrycho
2026-07-04 06:09:04 +02:00
parent 1d0d1c015b
commit aeb800283c
66 changed files with 199 additions and 184 deletions

View File

@@ -468,7 +468,7 @@ public:
void
update();
// checks if given command must be scheduled on server
bool
static bool
is_network_target(uint32_t Recipient);
// pops commands from intercept queue
@@ -527,9 +527,9 @@ class command_relay {
public:
// methods
// posts specified command for the specified recipient
void
static void
post(user_command Command, double Param1, double Param2,
int Action, uint16_t Recipient, glm::vec3 Position = glm::vec3(0.0f) , const std::string *Payload = nullptr) const;
int Action, uint16_t Recipient, glm::vec3 Position = glm::vec3(0.0f) , const std::string *Payload = nullptr);
private:
// types
// members