Skip to main content

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

NameSummary
asOptPackageabstract fun asOptPackage(): MovePackage?
Try to interpret this object as a MovePackage
asOptStructabstract fun asOptStruct(): MoveStruct?
Try to interpret this object as a MoveStruct
isPackageabstract fun isPackage(): Boolean
Return whether this object is a MovePackage
isStructabstract fun isStruct(): Boolean
Return whether this object is a MoveStruct