Implement InputProxy.

This commit is contained in:
2022-11-07 12:21:50 +08:00
parent 0d7018c964
commit f311eb5e8d
6 changed files with 109 additions and 36 deletions

View File

@@ -13,14 +13,14 @@ namespace Cryville.Crtr {
}
protected abstract void InternalGet(out int type, out byte[] value);
public class Arbitrary : PropSrc {
readonly new int _type;
public int Type { get; private set; }
readonly byte[] _value;
public Arbitrary(int type, byte[] value) {
_type = type;
Type = type;
_value = value;
}
protected override void InternalGet(out int type, out byte[] value) {
type = _type;
type = Type;
value = _value;
}
}