Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectID ¶
type ObjectID struct { Class ObjectClass Subclass ObjectSubclass Type ObjectType }
ObjectID completely identifies a specific object
func MakeObjectID ¶
func MakeObjectID(class ObjectClass, subclass ObjectSubclass, objType ObjectType) ObjectID
MakeObjectID returns an object ID with the provided values
type ObjectSubclass ¶
type ObjectSubclass byte
ObjectSubclass is the second identification of an object
type ObjectType ¶
type ObjectType byte
ObjectType is the specific type of a class/subclass combination
type ResourceID ¶
type ResourceID uint16
ResourceID uniquely identifies a resource
func (ResourceID) Value ¶
func (id ResourceID) Value() uint16
Value returns the identifiers raw integer value.
Click to show internal directories.
Click to hide internal directories.