Add get argsDef (#311)

This commit is contained in:
Amaury Martiny
2018-10-17 13:41:43 +02:00
committed by Jaco Greeff
parent 6673272fad
commit 38e3f8cdb7
+4
View File
@@ -128,6 +128,10 @@ export default class Method extends Struct {
return (this.getAtIndex(1) as Struct<Base>).values();
}
get argsDef (): ArgsDef {
return Method.getArgsDef(this.meta);
}
get callIndex (): Uint8Array {
return (this.getAtIndex(0) as MethodIndex).callIndex;
}