Add get argsDef (#311)
This commit is contained in:
committed by
Jaco Greeff
parent
6673272fad
commit
38e3f8cdb7
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user