MCPcopy Create free account
hub / github.com/HorizonMW/HorizonMW-Client / execute_console_command

Function execute_console_command

src/client/component/dedicated.cpp:124–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 void execute_console_command([[maybe_unused]] const int local_client_num, const char* command)
125 {
126 if (game::Live_SyncOnlineDataFlags(0) == 0)
127 {
128 command::execute(command);
129 }
130 else
131 {
132 get_console_command_queue().emplace_back(command);
133 }
134 }
135
136 void execute_console_command_queue()
137 {

Callers

nothing calls this directly

Calls 1

executeFunction · 0.70

Tested by

no test coverage detected