Add Get and Set methods for MapState
parent
4f3d5dd316
commit
c3ead0cdaa
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue