hawkeye camera support(not tested)
This commit is contained in:
@@ -40,4 +40,17 @@ public class HatsOperation : BaseOperation
|
||||
base.Load(br);
|
||||
HatSize = br.ReadInt32();
|
||||
}
|
||||
|
||||
public override void Save(Dictionary<string, object> dict)
|
||||
{
|
||||
base.Save(dict);
|
||||
dict[nameof(HatSize)] = HatSize;
|
||||
}
|
||||
|
||||
public override void Load(Dictionary<string, object> dict)
|
||||
{
|
||||
base.Load(dict);
|
||||
if (dict.ContainsKey(nameof(HatSize)))
|
||||
HatSize = Convert.ToInt32(dict[nameof(HatSize)]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user