#ifndef TOOLS_VALIDATOR_STRUCTS_H_ #define TOOLS_VALIDATOR_STRUCTS_H_ #include #include #include #include "proto/human.pb.h" #include "util/identifiers.h" namespace com::fourisland::lingo2_archipelago { struct MalformedIdentifiers { std::vector paintings; std::vector panels; std::vector keyholders; bool HasAny() const { return !paintings.empty() || !panels.empty() || !keyholders.empty(); } }; struct GameNodeInfo { bool defined = false; int uses = 0; }; struct MapInfo { std::map game_nodes; std::optional malformed_worldport_entrance; }; struct RoomInfo { std::vector definitions; std::vector doors_referenced_by; std::vector panels_referenced_by; std::vector connections_referenced_by; }; struct DoorInfo { std::vector definitions; bool has_id = false; std::vector connections_referenced_by; std::vector doors_referenced_by; std::vector panels_referenced_by; std::vector paintings_referenced_by; std::vector ports_referenced_by; std::vector progressives_referenced_by; std::vector door_groups_referenced_by; MalformedIdentifiers malformed_identifiers; }; struct PortInfo { std::vector definitions; bool has_id = false; std::vector connections_referenced_by; std::vector target_connections_referenced_by; std::vector map_worldport_entrances; }; struct PaintingInfo { std::vector definitions; std::vector connections_referenced_by; std::vector target_connections_referenced_by; std::vector doors_referenced_by; }; struct ProxyInfo { std::vector definitions; std::vector connections_referenced_by; std::vector doors_referenced_by; }; struct PanelInfo { std::vector definitions; bool has_id = false; std::string map_area_name; std::vector connections_referenced_by; std::vector target_connections_referenced_by; std::vector doors_referenced_by; std::map proxies; }; struct KeyholderInfo { std::vector definitions; bool has_id = false; std::vector doors_referenced_by; }; using LetterIdentifier = std::tuple; struct LetterInfo { std::vector defined_in; bool has_id = false; }; struct EndingInfo { std::vector defined_in; bool has_id = false; }; struct PanelNameInfo { std::vector panels_used_by; }; struct ProgressiveInfo { std::vector definitions; bool has_id = false; std::vector malformed_doors; }; struct DoorGroupInfo { std::vector definitions; bool has_id = false; std::vector malformed_doors; }; struct CollectedInfo { std::map maps; std::map rooms; std::map doors; std::map ports; std::map paintings; std::map panels; std::map keyholders; std::map letters; std::map endings; std::map panel_names; std::map progressives; std::map door_groups; }; } // namespace com::fourisland::lingo2_archipelago #endif /* TOOLS_VALIDATOR_STRUCTS_H_ */ f='#n8'>8 9 10 11 12 13 14 15 16 17 18 19 20 21
WebSocketServer.gd:

Copyright (c) 2014-present Godot Engine contributors. Copyright (c) 2007-2014
Juan Linietsky, Ariel Manzur.

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.