From c3ead0cdaa33c98113203d67387e7185fefc48b6 Mon Sep 17 00:00:00 2001 From: HumanoidSandvichDispenser Date: Thu, 6 Jun 2024 09:22:26 -0700 Subject: [PATCH] Add Get and Set methods for MapState --- State/Global/MapState.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/State/Global/MapState.cs b/State/Global/MapState.cs index 6b8bf71..63d97d7 100644 --- a/State/Global/MapState.cs +++ b/State/Global/MapState.cs @@ -54,4 +54,14 @@ public partial class MapState : Resource } return null; } + + public Variant Get(string key) + { + return this[key]; + } + + public void Set(string key, Variant value) + { + this[key] = value; + } }