ObjectDataInterface
interface ObjectDataInterface
Object data, either a package or struct
BCS
The BCS serialized form for this type is defined by the following ABNF:
object-data = object-data-struct / object-data-package
object-data-struct = %d00 object-move-struct
object-data-package = %d01 object-move-package
Inheritors
| ObjectData |
Functions
| Name | Summary |
|---|---|
| asOptPackage | abstract fun asOptPackage(): MovePackage? Try to interpret this object as a MovePackage |
| asOptStruct | abstract fun asOptStruct(): MoveStruct? Try to interpret this object as a MoveStruct |
| isPackage | abstract fun isPackage(): Boolean Return whether this object is a MovePackage |
| isStruct | abstract fun isStruct(): Boolean Return whether this object is a MoveStruct |