Update to 1.1.0 #5
1 changed files with 10 additions and 0 deletions
10
src/Bofa.bf
10
src/Bofa.bf
|
@ -14,6 +14,16 @@ class Bofa
|
|||
public StringView Typename;
|
||||
public BofaValue Value;
|
||||
|
||||
public static bool Deserialize<T>(ref T pType, Dictionary<StringView, Bofa> pDictionary) where T : Bofa.Serialization.IBofaParseable
|
||||
{
|
||||
Bofa b = scope .();
|
||||
b.Type = .Object;
|
||||
b.Value.Object = pDictionary;
|
||||
|
||||
defer {b.Type = .Integer;}
|
||||
return pType.Deserialize(b);
|
||||
}
|
||||
|
||||
public override void ToString(String strBuffer)
|
||||
{
|
||||
int64 depth = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue