Player12
An open source football management simulator
Loading...
Searching...
No Matches
editor_context.h
Go to the documentation of this file.
1// -----------------------------------------------------------------------------
2// Football Management Project
3// Copyright (c) 2025 - 2026 Flavio Milinanni. All Rights Reserved.
4//
5// This file is part of the Football Management Project.
6// See the LICENSE file in the project root.
7// -----------------------------------------------------------------------------
8
9#pragma once
10
11#include <map>
12#include <string>
13#include <vector>
14
17
23{
24 // Feature-owned, player-facing controls. Unknown columns remain preserved
25 // by persistence, but never become arbitrary inputs in the game UI.
26 std::vector<EditorField> editable_fields;
27 std::string table;
28 std::map<std::string, RuntimeEditor::Value, std::less<>> filter;
29 std::vector<std::string> related_tables;
30 std::map<std::string,
31 std::map<std::string, RuntimeEditor::Value, std::less<>>,
32 std::less<>>
34};
Definition editor_context.h:23
std::vector< EditorField > editable_fields
Definition editor_context.h:26
std::string table
Definition editor_context.h:27
std::map< std::string, std::map< std::string, RuntimeEditor::Value, std::less<> >, std::less<> > related_filters
Definition editor_context.h:33
std::map< std::string, RuntimeEditor::Value, std::less<> > filter
Definition editor_context.h:28
std::vector< std::string > related_tables
Definition editor_context.h:29