Versions in this module Expand all Collapse all v0 v0.5.1 Jan 15, 2023 Changes in this version + const MaxCharactersLegacy + const MaxRealmID + var NewFormat vsn.Build = 19027 + var Nil = GUID + var OldFormat vsn.Build = 0 + var TypeIDDescriptors = map[vsn.Build]TypeIDDescriptor + var TypeMaskDescriptors = map[vsn.Build]TypeMaskDescriptor + func DecodePacked64(r io.Reader) uint64 + func EncodeTypeID(version vsn.Build, id TypeID, out io.Writer) error + type GUID struct + Hi uint64 + Lo uint64 + func Classic(u64 uint64) GUID + func DecodePacked(version vsn.Build, reader io.Reader) (GUID, error) + func DecodePacked128(r io.Reader) GUID + func DecodeUnpacked(version vsn.Build, reader io.Reader) (GUID, error) + func FromString(s string) (GUID, error) + func Global(t HighType, low uint64) GUID + func MapSpecific(t HighType, realmID uint64, subType uint8, mapID uint16, serverID uint32, ...) GUID + func New(high, low uint64) GUID + func RealmSpecific(t HighType, realmID, low uint64) GUID + func (g GUID) Classic() uint64 + func (g GUID) Cmp(g2 GUID) int + func (g GUID) Counter() uint64 + func (g GUID) EncodePacked(version vsn.Build, w io.Writer) + func (g GUID) EncodeUnpacked(version vsn.Build, w io.Writer) error + func (g GUID) HiClassic() uint32 + func (g GUID) HighType() HighType + func (g GUID) IsUnit() bool + func (g GUID) LoClassic() uint32 + func (g GUID) RealmID() uint32 + func (g GUID) SetRealmID(realmID uint64) GUID + func (g GUID) String() string + func (g GUID) Summary() string + type HighType uint64 + const AIGroup + const AILock + const AILockTicket + const AIResource + const AreaTrigger + const BNetAccount + const BattlePet + const CallForHelp + const Cast + const ChatChannel + const ClientActor + const ClientConnection + const ClientSession + const ClubFinder + const CommerceObj + const Conversation + const Corpse + const Creature + const DynamicDoor + const DynamicObject + const GMTask + const GameObject + const Group + const Guild + const Instance + const Item + const LFGList + const LFGObject + const LootObject + const Mail + const Mo_Transport + const MobileSession + const Null + const PVPQueueGroup + const Party + const Pet + const PetBattle + const Player + const RaidGroup + const Scenario + const SceneObject + const Spell + const StaticDoor + const Transport + const Uniq + const UniqUserClient + const UserClient + const UserRouter + const Vehicle + const Vignette + const WebObj + const Weird + const WorldTransaction + const WowAccount + func (i HighType) String() string + type TypeID uint8 + const TypeActivePlayer + const TypeAreaTrigger + const TypeAzeriteEmpoweredItem + const TypeAzeriteItem + const TypeContainer + const TypeConversation + const TypeCorpse + const TypeDynamicObject + const TypeGameObject + const TypeItem + const TypeNPCText + const TypeObject + const TypePlayer + const TypeSceneObject + const TypeUnit + func DecodeTypeID(version vsn.Build, in io.Reader) (TypeID, error) + func (i TypeID) String() string + type TypeIDDescriptor map[TypeID]uint8 + type TypeMask uint32 + const TypeMaskActivePlayer + const TypeMaskAreaTrigger + const TypeMaskAzeriteEmpoweredItem + const TypeMaskAzeriteItem + const TypeMaskContainer + const TypeMaskConversation + const TypeMaskCorpse + const TypeMaskDynamicObject + const TypeMaskGameObject + const TypeMaskItem + const TypeMaskObject + const TypeMaskPlayer + const TypeMaskSceneObject + const TypeMaskSeer + const TypeMaskUnit + func ResolveTypeMask(version vsn.Build, unresolvedTypeMask uint32) (TypeMask, error) + func (t TypeMask) Resolve(version vsn.Build) (uint32, error) + func (t TypeMask) String() string + type TypeMaskDescriptor map[TypeMask]uint32