diff --git a/uppsrc/Core/Rpc/Rpc.h b/uppsrc/Core/Rpc/Rpc.h index 6166455da..455b98847 100644 --- a/uppsrc/Core/Rpc/Rpc.h +++ b/uppsrc/Core/Rpc/Rpc.h @@ -208,7 +208,9 @@ struct RpcData { ValueMap in_map; ValueArray out; ValueMap out_map; - + + int GetRemainingCount() const { return in.GetCount() - ii; } + Value Get() { if(ii >= in.GetCount()) throw ValueTypeMismatch(); return in[ii++]; } template