Add Get and Set methods for MapState

refactor
John Montagu, the 4th Earl of Sandvich 2024-06-06 09:22:26 -07:00
parent 4f3d5dd316
commit c3ead0cdaa
Signed by: sandvich
GPG Key ID: 9A39BE37E602B22D
1 changed files with 10 additions and 0 deletions

View File

@ -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;
}
}