Added initial support for extracting map preview images from game level mixes that include a screenshot or overhead map

This commit is contained in:
2026-09-18 22:21:20 -05:00
parent 0a1909a84c
commit 53e7a72ceb
9 changed files with 137 additions and 8 deletions

View File

@@ -16,6 +16,10 @@ module W3DHubLauncher
Worker::Request.new(:ico_to_png, { ico_path: ico_path, png_path: png_path }, &block)
end
def self.server_map_image(server, &block)
Worker::Request.new(:server_map_image, { server: { address: server.address, port: server.port, map: server.current_map } }, &block)
end
def self.dns_resolution(&block)
Worker::Request.new(:dns_resolution, "", &block)
end