| 1218 | } |
| 1219 | |
| 1220 | bool ServerWorldCallbacks::sendPacket(WorldServer* world, ConnectionId clientId, String const& packetType, Json const& packetData) { |
| 1221 | PacketType type = PacketTypeNames.getLeft(packetType); |
| 1222 | auto packet = createPacket(type, packetData); |
| 1223 | return world->sendPacket(clientId, packet); |
| 1224 | } |
| 1225 | |
| 1226 | void WorldDebugCallbacks::debugPoint(Vec2F const& arg1, Color const& arg2) { |
| 1227 | SpatialLogger::logPoint("world", arg1, arg2.toRgba()); |
nothing calls this directly
no test coverage detected