Documentation ¶
Index ¶
- Constants
- func EQRead[T EQTypes](b []byte, s EQStruct, field *T, size int) error
- func EQReadBigEndian[T EQTypes](b []byte, s EQStruct, field *T, size int) error
- func EQReadBytes(b []byte, s EQStruct, field *[]byte, maxLength int) error
- func EQReadFloat32(b []byte, s EQStruct, field *float32) error
- func EQReadInt16(b []byte, s EQStruct, field *int16) error
- func EQReadInt16BigEndian(b []byte, s EQStruct, field *int16) error
- func EQReadInt32(b []byte, s EQStruct, field *int32) error
- func EQReadInt32BigEndian(b []byte, s EQStruct, field *int32) error
- func EQReadInt8(b []byte, s EQStruct, field *int8) error
- func EQReadString(b []byte, s EQStruct, field *string, maxLength int) error
- func EQReadStringNullTerm(b []byte, s EQStruct, field *string) error
- func EQReadUint16(b []byte, s EQStruct, field *uint16) error
- func EQReadUint16BigEndian(b []byte, s EQStruct, field *uint16) error
- func EQReadUint32(b []byte, s EQStruct, field *uint32) error
- func EQReadUint32BigEndian(b []byte, s EQStruct, field *uint32) error
- func EQReadUint8(b []byte, s EQStruct, field *uint8) error
- type AA_Array
- type Action
- type Animation
- type BeginCast
- type BindPoint
- type BuffFade
- type CastSpell
- type ChannelMessage
- type Charm
- type ClientUpdate
- type Consider
- type CorpsePosition
- type Damage
- type Death
- type DeleteSpawn
- type DoorClick
- type EQAppearanceType
- type EQStruct
- type EQType
- type EQTypes
- type EnterWorld
- type EntityID
- type ExpUpdate
- type GuildEntry
- type GuildUpdate
- type GuildsList
- type HPUpdate
- type ItemMove
- type LFG
- type LFGAppearance
- type LogServer
- type LoginAccepted
- type LoginInfo
- type ManaChange
- type ManaUpdate
- type MemorizeSpell
- type MessageFormatted
- type MessageSpecial
- type MoveDoor
- type NPC
- type NewZone
- type Object
- type PetCommand
- type PlayRequest
- type PlayerProfile
- type RaidAddMember
- type RaidCreate
- type RaidGeneral
- type RandomReply
- type RandomReq
- type ServerMOTD
- type SpawnAppearance
- type SpawnDoor
- type SpawnDoors
- type SpawnPositionUpdate
- type SpawnPositionUpdates
- type SpellBuff
- type StaminaUpdate
- type Target
- type Time
- type TintStruct
- type WearChange
- type Weather
- type WorldApprove
- type ZoneChange
- type ZoneChangeReq
- type ZoneEntryClient
- type ZoneEntryServer
- type ZonePoint
- type ZonePoints
- type ZoneServerInfo
- type ZoneSpawn
- type ZoneSpawns
Constants ¶
View Source
const GuildEntryMax = 512
Variables ¶
This section is empty.
Functions ¶
func EQReadBigEndian ¶
Types ¶
type Action ¶
type Animation ¶
type Animation struct { SpawnID uint16 Target uint16 Action uint8 Value uint8 // contains filtered or unexported fields }
func (*Animation) SetPointer ¶
type BeginCast ¶
type BuffFade ¶
type BuffFade struct { EntityID uint16 BuffType uint8 Level uint8 BardModifier uint8 Activated uint8 SpellID uint16 Duration uint16 Counters uint16 SlotNumber uint16 // contains filtered or unexported fields }
func (*BuffFade) SetPointer ¶
type CastSpell ¶
type CastSpell struct { SpellID uint16 Slot uint16 SpellCRC uint32 TargetID uint16 InventorySlot uint16 // contains filtered or unexported fields }
func (*CastSpell) SetPointer ¶
type ChannelMessage ¶
type ChannelMessage struct { TargetName string // MAX64 Sender string // MAX64 Language uint16 ChannelNum uint16 LanguageSkill uint16 Message string // contains filtered or unexported fields }
func (*ChannelMessage) EQType ¶
func (p *ChannelMessage) EQType() EQType
func (*ChannelMessage) Proto ¶
func (p *ChannelMessage) Proto() *eqstruct.MessageChannel
func (*ChannelMessage) ProtoMess ¶
func (p *ChannelMessage) ProtoMess() proto.Message
type Charm ¶
type Charm struct { OwnerID uint16 PetID uint16 Command uint16 // contains filtered or unexported fields }
func (*Charm) SetPointer ¶
type ClientUpdate ¶
type ClientUpdate struct { ClientID string // contains filtered or unexported fields }
func (*ClientUpdate) EQType ¶
func (p *ClientUpdate) EQType() EQType
func (*ClientUpdate) Proto ¶
func (p *ClientUpdate) Proto() *eqstruct.ClientUpdate
func (*ClientUpdate) ProtoMess ¶
func (p *ClientUpdate) ProtoMess() proto.Message
type Consider ¶
type CorpsePosition ¶
type CorpsePosition struct { EntityID uint16 // 000 Y float32 X float32 Z float32 // contains filtered or unexported fields }
func (*CorpsePosition) EQType ¶
func (p *CorpsePosition) EQType() EQType
func (*CorpsePosition) Proto ¶
func (p *CorpsePosition) Proto() *eqstruct.CorpsePosition
func (*CorpsePosition) ProtoMess ¶
func (p *CorpsePosition) ProtoMess() proto.Message
func (*CorpsePosition) SetPointer ¶
func (p *CorpsePosition) SetPointer(i int)
type Damage ¶
type Death ¶
type DeleteSpawn ¶
type DeleteSpawn struct { SpawnID uint16 // 000 // contains filtered or unexported fields }
func (*DeleteSpawn) EQType ¶
func (p *DeleteSpawn) EQType() EQType
func (*DeleteSpawn) Proto ¶
func (p *DeleteSpawn) Proto() *eqstruct.DeleteSpawn
func (*DeleteSpawn) ProtoMess ¶
func (p *DeleteSpawn) ProtoMess() proto.Message
type DoorClick ¶
type DoorClick struct { DoorID uint8 ItemID uint16 PlayerID uint16 // contains filtered or unexported fields }
func (*DoorClick) SetPointer ¶
type EQAppearanceType ¶
type EQAppearanceType uint16
const ( AT_Die EQAppearanceType = 0 AT_WhoLevel EQAppearanceType = 1 AT_MaxHP EQAppearanceType = 2 AT_Invis EQAppearanceType = 3 AT_PVP EQAppearanceType = 4 AT_Light EQAppearanceType = 5 AT_Anim EQAppearanceType = 14 AT_Sneak EQAppearanceType = 15 AT_SpawnID EQAppearanceType = 16 AT_HP EQAppearanceType = 17 AT_LinkDead EQAppearanceType = 18 AT_Levitate EQAppearanceType = 19 AT_GM EQAppearanceType = 20 AT_Anon EQAppearanceType = 21 AT_GuildID EQAppearanceType = 22 AT_GuildRank EQAppearanceType = 23 AT_AFK EQAppearanceType = 24 AT_Pet EQAppearanceType = 25 AT_SummonedPC EQAppearanceType = 27 AT_Split EQAppearanceType = 28 AT_Size EQAppearanceType = 29 AT_NPC EQAppearanceType = 30 AT_NPCName EQAppearanceType = 31 AT_DamageState EQAppearanceType = 44 AT_Trader EQAppearanceType = 300 )
func EQAppearanceTypeString ¶
func EQAppearanceTypeString(s string) (EQAppearanceType, error)
EQAppearanceTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func EQAppearanceTypeValues ¶
func EQAppearanceTypeValues() []EQAppearanceType
EQAppearanceTypeValues returns all values of the enum
func (EQAppearanceType) IsAEQAppearanceType ¶
func (i EQAppearanceType) IsAEQAppearanceType() bool
IsAEQAppearanceType returns "true" if the value is listed in the enum definition. "false" otherwise
func (EQAppearanceType) String ¶
func (i EQAppearanceType) String() string
type EQType ¶
type EQType uint32
const ( EQT_Unknown EQType = iota EQT_PlayerProfile EQT_PlayEverquestResponse EQT_ZoneServerInfo EQT_PlayRequest EQT_ZoneEntryServer EQT_LogServer EQT_EnterWorld EQT_LoginInfo EQT_LoginAccepted EQT_SpawnPositionUpdate EQT_SpawnPositionUpdates EQT_ZoneSpawns EQT_ZoneSpawn EQT_ClientUpdate EQT_ManaUpdate EQT_NewZone EQT_StaminaUpdate EQT_MoveDoor EQT_SpawnAppearance EQT_Action EQT_BeginCast EQT_Damage EQT_ExpUpdate EQT_Consider EQT_Target EQT_HPUpdate EQT_Object EQT_DeleteSpawn EQT_ZoneEntryClient EQT_ServerMOTD EQT_WearChange EQT_TintStruct EQT_Death EQT_RaidGeneral EQT_RaidAddMember EQT_RaidCreate EQT_WorldApprove EQT_GuildsList EQT_GuildEntry EQT_GuildUpdate EQT_ZonePoints EQT_ZonePoint EQT_LFG EQT_Weather EQT_Time EQT_SpawnDoor EQT_SpawnDoors EQT_LFGAppearance EQT_ChannelMessage EQT_ZoneChange EQT_ZoneChangeReq EQT_ManaChange EQT_CorpsePosition EQT_DoorClick EQT_MessageFormatted EQT_BuffFade EQT_Animation EQT_Charm EQT_CastSpell EQT_MemorizeSpell EQT_RandomReq EQT_RandomReply EQT_EntityID EQT_PetCommand EQT_ItemMove EQT_MessageSpecial )
func EQTypeString ¶
EQTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
type EnterWorld ¶
type EnterWorld struct { Name string // 000 // contains filtered or unexported fields }
func (*EnterWorld) EQType ¶
func (p *EnterWorld) EQType() EQType
func (*EnterWorld) Proto ¶
func (p *EnterWorld) Proto() *eqstruct.EnterWorld
func (*EnterWorld) ProtoMess ¶
func (p *EnterWorld) ProtoMess() proto.Message
type EntityID ¶
type EntityID struct { EntityID uint16 // contains filtered or unexported fields }
func (*EntityID) SetPointer ¶
type ExpUpdate ¶
type ExpUpdate struct { Exp uint32 // 000 // contains filtered or unexported fields }
func (*ExpUpdate) SetPointer ¶
type GuildEntry ¶
type GuildEntry struct { GuildID uint32 Name string // MAX64 Exists uint16 // contains filtered or unexported fields }
func (*GuildEntry) EQType ¶
func (p *GuildEntry) EQType() EQType
func (*GuildEntry) Proto ¶
func (p *GuildEntry) Proto() *eqstruct.GuildEntry
func (*GuildEntry) ProtoMess ¶
func (p *GuildEntry) ProtoMess() proto.Message
type GuildUpdate ¶
type GuildUpdate struct { GuildID uint32 Guild *GuildEntry // contains filtered or unexported fields }
func (*GuildUpdate) EQType ¶
func (p *GuildUpdate) EQType() EQType
func (*GuildUpdate) Proto ¶
func (p *GuildUpdate) Proto() *eqstruct.GuildUpdate
func (*GuildUpdate) ProtoMess ¶
func (p *GuildUpdate) ProtoMess() proto.Message
type GuildsList ¶
type GuildsList struct { Header []uint8 Guilds []*GuildEntry // contains filtered or unexported fields }
func (*GuildsList) EQType ¶
func (p *GuildsList) EQType() EQType
func (*GuildsList) Proto ¶
func (p *GuildsList) Proto() *eqstruct.GuildList
func (*GuildsList) ProtoMess ¶
func (p *GuildsList) ProtoMess() proto.Message
type HPUpdate ¶
type ItemMove ¶
type ItemMove struct { SlotFrom uint32 SlotTo uint32 StackNum uint32 // contains filtered or unexported fields }
func (*ItemMove) SetPointer ¶
type LFGAppearance ¶
type LFGAppearance struct { EntityID int16 Unknown int16 Value int32 // contains filtered or unexported fields }
func (*LFGAppearance) EQType ¶
func (p *LFGAppearance) EQType() EQType
func (*LFGAppearance) Proto ¶
func (p *LFGAppearance) Proto() *eqstruct.LFGAppearance
func (*LFGAppearance) ProtoMess ¶
func (p *LFGAppearance) ProtoMess() proto.Message
type LogServer ¶
type LoginAccepted ¶
type LoginAccepted struct { Account string // 00 Max 10 // contains filtered or unexported fields }
func (*LoginAccepted) EQType ¶
func (p *LoginAccepted) EQType() EQType
func (*LoginAccepted) Proto ¶
func (p *LoginAccepted) Proto() *eqstruct.LoginInfo
func (*LoginAccepted) ProtoMess ¶
func (p *LoginAccepted) ProtoMess() proto.Message
type LoginInfo ¶
type ManaChange ¶
func (*ManaChange) EQType ¶
func (p *ManaChange) EQType() EQType
func (*ManaChange) Proto ¶
func (p *ManaChange) Proto() *eqstruct.ManaChange
func (*ManaChange) ProtoMess ¶
func (p *ManaChange) ProtoMess() proto.Message
func (*ManaChange) SetPointer ¶
func (p *ManaChange) SetPointer(i int)
type ManaUpdate ¶
type ManaUpdate struct { SpawnID uint16 // 000 ManaCurr uint16 // contains filtered or unexported fields }
func (*ManaUpdate) EQType ¶
func (p *ManaUpdate) EQType() EQType
func (*ManaUpdate) Proto ¶
func (p *ManaUpdate) Proto() *eqstruct.ManaUpdate
func (*ManaUpdate) ProtoMess ¶
func (p *ManaUpdate) ProtoMess() proto.Message
type MemorizeSpell ¶
type MemorizeSpell struct { Slot uint32 SpellID uint32 Scribing uint32 // contains filtered or unexported fields }
func (*MemorizeSpell) EQType ¶
func (p *MemorizeSpell) EQType() EQType
func (*MemorizeSpell) Proto ¶
func (p *MemorizeSpell) Proto() *eqstruct.MemorizeSpell
func (*MemorizeSpell) ProtoMess ¶
func (p *MemorizeSpell) ProtoMess() proto.Message
func (*MemorizeSpell) SetPointer ¶
func (p *MemorizeSpell) SetPointer(i int)
type MessageFormatted ¶
type MessageFormatted struct { StringID uint16 Type uint16 Message []byte // contains filtered or unexported fields }
func (*MessageFormatted) EQType ¶
func (p *MessageFormatted) EQType() EQType
func (*MessageFormatted) Proto ¶
func (p *MessageFormatted) Proto() *eqstruct.MessageFormatted
func (*MessageFormatted) ProtoMess ¶
func (p *MessageFormatted) ProtoMess() proto.Message
func (*MessageFormatted) SetPointer ¶
func (p *MessageFormatted) SetPointer(i int)
type MessageSpecial ¶
func (*MessageSpecial) EQType ¶
func (p *MessageSpecial) EQType() EQType
func (*MessageSpecial) Proto ¶
func (p *MessageSpecial) Proto() *eqstruct.MessageSpecial
func (*MessageSpecial) ProtoMess ¶
func (p *MessageSpecial) ProtoMess() proto.Message
func (*MessageSpecial) SetPointer ¶
func (p *MessageSpecial) SetPointer(i int)
type NPC ¶
type NPC uint8
func NPCString ¶
NPCString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
type NewZone ¶
type NewZone struct { Name string // 000 Max64 NameShort string // 64 Max32 NameLong string // 96 Max278 Type uint8 FogRed uint8 // 375 FogGreen uint8 // 379 FogBlue uint8 // 383 FogMinClip float32 // 388 FogMaxClip float32 // 404 Gravity float32 // 420 TimeType uint8 RainChance uint8 // 425 RainDuration uint8 // 429 SnowChance uint8 // 433 SnowDuration uint8 // 437 SpecialDates []byte // 441 SpecialCodes []byte // 457 Max16 TimeZone int8 Sky uint8 WaterMusic int16 NormalMusicDay int16 NormalMusicNight int16 ZoneExpMult float32 SafeY float32 SafeX float32 SafeZ float32 MaxZ float32 Underworld float32 ClipMin float32 ClipMax float32 ForageNovice uint32 ForageMedium uint32 ForageAdv uint32 FishingNovice uint32 FishingMedium uint32 FishingAdv uint32 SkyLock uint32 GraveyardTime uint16 ScriptPeriodicHour uint32 ScriptPeriodicMinute uint32 ScriptPeriodicFast uint32 ScriptPlayerDead uint32 ScriptNPCDead uint32 ScriptPlayerEntering uint32 // contains filtered or unexported fields }
type Object ¶
type PetCommand ¶
func (*PetCommand) EQType ¶
func (p *PetCommand) EQType() EQType
func (*PetCommand) Proto ¶
func (p *PetCommand) Proto() *eqstruct.PetCommand
func (*PetCommand) ProtoMess ¶
func (p *PetCommand) ProtoMess() proto.Message
func (*PetCommand) SetPointer ¶
func (p *PetCommand) SetPointer(i int)
type PlayRequest ¶
type PlayRequest struct { IP string // 000 // contains filtered or unexported fields }
func (*PlayRequest) EQType ¶
func (p *PlayRequest) EQType() EQType
func (*PlayRequest) Proto ¶
func (p *PlayRequest) Proto() *eqstruct.PlayRequest
func (*PlayRequest) ProtoMess ¶
func (p *PlayRequest) ProtoMess() proto.Message
type PlayerProfile ¶
type PlayerProfile struct { Checksum uint32 Name, LastName string UniqueGuildID uint32 Gender uint8 GenderChar string Race uint16 Class uint16 BodyType uint16 Level uint8 LevelChar string Exp uint32 Points int16 Mana int16 CurHP int16 Status uint16 STR, STA, CHA, DEX, INT, AGI, WIS int16 Face uint8 EquipType []uint8 EquipColor []TintStruct Inventory []int16 Languages []uint8 // TODO: ItemPropertiesStruct SpellBuffs []SpellBuff ContainerInv []int16 CursorBagInv []int16 // TODO: ItemPropertiesStruct (Container) // TODO: ItemPropertiesStruct (Cursor Container) SpellBook []int16 Unknown2374 []byte Unknown2886 []byte MemSpells []int16 AvaliableSlots uint16 Y, X, Z, Heading float32 Position uint32 Platinum, Gold, Silver, Copper int32 PlatinumBank, GoldBank, SilverBank, CopperBank int32 PlatinumCursor, GoldCursor, SilverCursor, CopperCursor int32 Currency []int32 Skills []int16 InnateSkills []int16 AirSupply uint8 Texture uint8 Height, Width, Length, ViewHeight float32 Boat string Autosplit uint8 Expansions uint8 Hunger, Thirst int32 ZoneID uint32 BindPoints []BindPoint // TODO: BindPointStruct // TODO: Bank ItemStructs // TODO: Bank Bag ItemStructs LoginTime uint32 BankInv []int16 BankInvCont []int16 Deity uint16 GuildID uint16 Birthday uint32 LastLogin uint32 TimePlayedMin uint32 Fatigue int8 PVP uint8 Level2 uint8 ANON uint8 GM uint8 GuildRank uint8 Intoxication uint8 EQBackground uint8 SpellSlotRefresh []uint32 AbilitySlotRefresh uint32 GroupMembers []string GroupDat uint32 EXPAA uint32 Title uint8 PerAA uint8 Haircolor, Beardcolor, Eye1color, Eye2color, Hairstyle, Beard, Luclinface uint8 ItemMaterial []byte AAArray []AA_Array ATR_DivineRez, ATR_FreeHot, ATR_TargetDA, ATR_SPTWood, ATR_DireCharm, ATR_StrongRoot, ATR_Masco, ATR_MANABURN, ATR_GatherMana, ATR_PetLOH, ATR_Exodus, ATR_MassFear uint32 AirRemaining uint16 AAPts uint16 MGBTimer uint32 MBitFlags []int8 PopSpellTimer uint32 LastSheild, LastModulated uint32 Unknown004 []byte // contains filtered or unexported fields }
func (*PlayerProfile) EQType ¶
func (p *PlayerProfile) EQType() EQType
func (*PlayerProfile) Proto ¶
func (p *PlayerProfile) Proto() *eqstruct.PlayerProfile
func (*PlayerProfile) ProtoMess ¶
func (p *PlayerProfile) ProtoMess() proto.Message
type RaidAddMember ¶
type RaidAddMember struct { RaidGeneral RaidGeneral Class uint8 Level uint8 GroupLeaderFlag uint8 // contains filtered or unexported fields }
func (*RaidAddMember) EQType ¶
func (p *RaidAddMember) EQType() EQType
func (*RaidAddMember) Proto ¶
func (p *RaidAddMember) Proto() *eqstruct.RaidAddMember
func (*RaidAddMember) ProtoMess ¶
func (p *RaidAddMember) ProtoMess() proto.Message
type RaidCreate ¶
type RaidCreate struct { Action uint32 LeaderName string // MAX64 LeaderID uint32 // contains filtered or unexported fields }
func (*RaidCreate) EQType ¶
func (p *RaidCreate) EQType() EQType
func (*RaidCreate) Proto ¶
func (p *RaidCreate) Proto() *eqstruct.RaidCreate
func (*RaidCreate) ProtoMess ¶
func (p *RaidCreate) ProtoMess() proto.Message
type RaidGeneral ¶
type RaidGeneral struct { Action uint32 PlayerName string // MAX64 LeaderName string // MAX64 Parameter uint32 // contains filtered or unexported fields }
func (*RaidGeneral) EQType ¶
func (p *RaidGeneral) EQType() EQType
func (*RaidGeneral) Proto ¶
func (p *RaidGeneral) Proto() *eqstruct.RaidGeneral
func (*RaidGeneral) ProtoMess ¶
func (p *RaidGeneral) ProtoMess() proto.Message
type RandomReply ¶
type RandomReply struct { Low uint32 High uint32 Result uint32 CharName string // contains filtered or unexported fields }
func (*RandomReply) EQType ¶
func (p *RandomReply) EQType() EQType
func (*RandomReply) Proto ¶
func (p *RandomReply) Proto() *eqstruct.RandomReply
func (*RandomReply) ProtoMess ¶
func (p *RandomReply) ProtoMess() proto.Message
func (*RandomReply) SetPointer ¶
func (p *RandomReply) SetPointer(i int)
type RandomReq ¶
func (*RandomReq) SetPointer ¶
type ServerMOTD ¶
type ServerMOTD struct { Name string // 000 Message string // contains filtered or unexported fields }
func (*ServerMOTD) EQType ¶
func (p *ServerMOTD) EQType() EQType
func (*ServerMOTD) Proto ¶
func (p *ServerMOTD) Proto() *eqstruct.ServerMOTD
func (*ServerMOTD) ProtoMess ¶
func (p *ServerMOTD) ProtoMess() proto.Message
type SpawnAppearance ¶
type SpawnAppearance struct { SpawnID uint16 Type uint16 Parameter uint32 // contains filtered or unexported fields }
func (*SpawnAppearance) EQType ¶
func (p *SpawnAppearance) EQType() EQType
func (*SpawnAppearance) Proto ¶
func (p *SpawnAppearance) Proto() *eqstruct.SpawnAppearance
func (*SpawnAppearance) ProtoMess ¶
func (p *SpawnAppearance) ProtoMess() proto.Message
type SpawnDoor ¶
type SpawnDoors ¶
type SpawnDoors struct { Doors []*SpawnDoor // 004 // contains filtered or unexported fields }
func (*SpawnDoors) EQType ¶
func (p *SpawnDoors) EQType() EQType
func (*SpawnDoors) Proto ¶
func (p *SpawnDoors) Proto() *eqstruct.SpawnDoors
func (*SpawnDoors) ProtoMess ¶
func (p *SpawnDoors) ProtoMess() proto.Message
type SpawnPositionUpdate ¶
type SpawnPositionUpdate struct { SpawnID uint16 // 000 AnimType int8 // 002 Heading uint8 // 003 HeadingDelta int8 // 004 Y int16 // 005 X int16 // 007 Z int16 // 009 XYZDelta uint32 // derived values XDelta float32 YDelta float32 ZDelta float32 // contains filtered or unexported fields }
func (*SpawnPositionUpdate) DeltaConvert ¶
func (p *SpawnPositionUpdate) DeltaConvert()
func (*SpawnPositionUpdate) EQType ¶
func (p *SpawnPositionUpdate) EQType() EQType
func (*SpawnPositionUpdate) Proto ¶
func (p *SpawnPositionUpdate) Proto() *pb.SpawnPosition
func (*SpawnPositionUpdate) ProtoMess ¶
func (p *SpawnPositionUpdate) ProtoMess() proto.Message
type SpawnPositionUpdates ¶
type SpawnPositionUpdates struct { Count uint32 // 000 Updates []*SpawnPositionUpdate // 004 // contains filtered or unexported fields }
func (*SpawnPositionUpdates) EQType ¶
func (p *SpawnPositionUpdates) EQType() EQType
func (*SpawnPositionUpdates) Proto ¶
func (p *SpawnPositionUpdates) Proto() *pb.SpawnPositions
func (*SpawnPositionUpdates) ProtoMess ¶
func (p *SpawnPositionUpdates) ProtoMess() proto.Message
type StaminaUpdate ¶
type StaminaUpdate struct { Food int16 Water int16 Fatigue int8 // contains filtered or unexported fields }
func (*StaminaUpdate) EQType ¶
func (p *StaminaUpdate) EQType() EQType
func (*StaminaUpdate) Proto ¶
func (p *StaminaUpdate) Proto() *pb.StaminaUpdate
func (*StaminaUpdate) ProtoMess ¶
func (p *StaminaUpdate) ProtoMess() proto.Message
type Target ¶
type Target struct { TargetID uint16 // 000 // contains filtered or unexported fields }
type Time ¶
type TintStruct ¶
type TintStruct struct {
Blue, Green, Red uint8
Use uint8
// contains filtered or unexported fields
}
func (*TintStruct) EQType ¶
func (p *TintStruct) EQType() EQType
func (*TintStruct) Proto ¶
func (p *TintStruct) Proto() *eqstruct.TintStruct
func (*TintStruct) ProtoMess ¶
func (p *TintStruct) ProtoMess() proto.Message
type WearChange ¶
type WearChange struct { SpawnID uint16 WearSlotID uint8 Material uint16 Color *TintStruct // contains filtered or unexported fields }
func (*WearChange) EQType ¶
func (p *WearChange) EQType() EQType
func (*WearChange) Proto ¶
func (p *WearChange) Proto() *eqstruct.WearChange
func (*WearChange) ProtoMess ¶
func (p *WearChange) ProtoMess() proto.Message
type WorldApprove ¶
type WorldApprove struct { Response uint8 Name string // MAX64 // contains filtered or unexported fields }
func (*WorldApprove) EQType ¶
func (p *WorldApprove) EQType() EQType
func (*WorldApprove) Proto ¶
func (p *WorldApprove) Proto() *eqstruct.WorldApprove
func (*WorldApprove) ProtoMess ¶
func (p *WorldApprove) ProtoMess() proto.Message
type ZoneChange ¶
type ZoneChange struct { CharName string // MAX64 ZoneID uint16 ZoneReason uint16 Success int8 Error [3]uint8 // contains filtered or unexported fields }
func (*ZoneChange) EQType ¶
func (p *ZoneChange) EQType() EQType
func (*ZoneChange) Proto ¶
func (p *ZoneChange) Proto() *eqstruct.ZoneChange
func (*ZoneChange) ProtoMess ¶
func (p *ZoneChange) ProtoMess() proto.Message
type ZoneChangeReq ¶
type ZoneChangeReq struct { ZoneID uint32 Y float32 X float32 Z float32 Heading float32 Type uint32 // contains filtered or unexported fields }
func (*ZoneChangeReq) EQType ¶
func (p *ZoneChangeReq) EQType() EQType
func (*ZoneChangeReq) Proto ¶
func (p *ZoneChangeReq) Proto() *eqstruct.ZoneChangeReq
func (*ZoneChangeReq) ProtoMess ¶
func (p *ZoneChangeReq) ProtoMess() proto.Message
type ZoneEntryClient ¶
type ZoneEntryClient struct { Unknown000 uint32 CharName string // contains filtered or unexported fields }
func (*ZoneEntryClient) EQType ¶
func (p *ZoneEntryClient) EQType() EQType
func (*ZoneEntryClient) Proto ¶
func (p *ZoneEntryClient) Proto() *eqstruct.ZoneEntryClient
func (*ZoneEntryClient) ProtoMess ¶
func (p *ZoneEntryClient) ProtoMess() proto.Message
type ZoneEntryServer ¶
type ZoneEntryServer struct { Checksum []byte // 000 Len4 Type uint8 // 004 Name string // 005 MAX64 Unknown70 []byte // 70 ZoneId uint32 // 72 PosY float32 // 0076 PosX float32 // 0080 PosZ float32 // 0084 Heading float32 // 0088 MyChar int32 // 140 HPMax uint32 // 156 HPCur uint32 // 160 GuildId uint16 // 164 Class uint8 // 173 Race uint16 // 174 Gender uint8 // 176 Level uint8 // 177 Invis uint8 // 178 Sneaking uint8 // 179 PVP uint8 // 180 // contains filtered or unexported fields }
func (*ZoneEntryServer) EQType ¶
func (p *ZoneEntryServer) EQType() EQType
func (*ZoneEntryServer) Proto ¶
func (p *ZoneEntryServer) Proto() *eqstruct.ZoneEntryServer
func (*ZoneEntryServer) ProtoMess ¶
func (p *ZoneEntryServer) ProtoMess() proto.Message
type ZonePoint ¶
type ZonePoints ¶
type ZonePoints struct { Count uint32 Points []*ZonePoint // contains filtered or unexported fields }
func (*ZonePoints) EQType ¶
func (p *ZonePoints) EQType() EQType
func (*ZonePoints) Proto ¶
func (p *ZonePoints) Proto() *eqstruct.ZonePoints
func (*ZonePoints) ProtoMess ¶
func (p *ZonePoints) ProtoMess() proto.Message
type ZoneServerInfo ¶
type ZoneServerInfo struct { IP string // 000 Port uint16 // 128 // contains filtered or unexported fields }
func (*ZoneServerInfo) EQType ¶
func (p *ZoneServerInfo) EQType() EQType
func (*ZoneServerInfo) Proto ¶
func (p *ZoneServerInfo) Proto() *eqstruct.ZoneServerInfo
func (*ZoneServerInfo) ProtoMess ¶
func (p *ZoneServerInfo) ProtoMess() proto.Message
type ZoneSpawn ¶
type ZoneSpawn struct { Unused01 uint32 // 000 Accel int8 // 004 Heading uint8 // 005 HeadingDelta int8 // 006 Y int16 X int16 Z int16 XYZDelta uint32 YDelta float32 // velocities ZDelta float32 XDelta float32 Unused02 int8 PetOwnerID uint16 Animation uint8 Haircolor uint8 Beardcolor uint8 Eyecolor1 uint8 Eyecolor2 uint8 Hairstyle uint8 Beard uint8 Title uint8 Size float32 Walkspeed float32 Runspeed float32 EquipColors []byte // skip for now SpawnID uint16 BodyType int16 HPCur int16 GuildID int16 Race uint16 NPC uint8 ClassB uint8 Gender uint8 Level uint8 Invis uint8 Sneaking uint8 PVP uint8 AnimType uint8 Light uint8 ANON int8 AFK int8 SummonedPC int8 LD int8 GM int8 FlyMode int8 BodyTexture int8 Helm int8 Face uint8 Equipment []uint16 GuildRank int16 Deity int16 TemporaryPet int8 Name string Surname string Void2 uint8 // contains filtered or unexported fields }
func (*ZoneSpawn) DeltaConvert ¶
func (p *ZoneSpawn) DeltaConvert()
type ZoneSpawns ¶
type ZoneSpawns struct { Spawns []*ZoneSpawn // 004 // contains filtered or unexported fields }
func (*ZoneSpawns) EQType ¶
func (p *ZoneSpawns) EQType() EQType
func (*ZoneSpawns) Proto ¶
func (p *ZoneSpawns) Proto() *eqstruct.Spawns
func (*ZoneSpawns) ProtoMess ¶
func (p *ZoneSpawns) ProtoMess() proto.Message
Source Files ¶
- Action.go
- Animation.go
- BeginCast.go
- Buff.go
- CastSpell.go
- Channel.go
- Charm.go
- ClientUpdate.go
- Consider.go
- CorpsePosition.go
- Damage.go
- Death.go
- DeleteSpawn.go
- DoorClick.go
- DoorMove.go
- DoorSpawn.go
- EnterWorld.go
- Entity.go
- ExpUpdate.go
- GuildEntry.go
- GuildUpdate.go
- GuildsList.go
- ItemMove.go
- LFG.go
- LogServer.go
- LoginAccepted.go
- LoginInfo.go
- ManaChange.go
- ManaUpdate.go
- MemorizeSpell.go
- MessageFormatted.go
- MessageSpecial.go
- NewZone.go
- Object.go
- PetCommands.go
- PlayRequest.go
- PlayerProfile.go
- RaidAddMember.go
- RaidCreate.go
- RaidGeneral.go
- Random.go
- ServerMOTD.go
- SpawnAppearance.go
- SpawnHPUpdate.go
- SpawnPosition.go
- StaminaUpdate.go
- Target.go
- Time.go
- TintStruct.go
- WearChange.go
- Weather.go
- WorldApprove.go
- ZoneChange.go
- ZoneChangeReq.go
- ZoneEntry.go
- ZonePoints.go
- ZoneServerInfo.go
- ZoneSpawns.go
- eqappearancetype_enumer.go
- eqtype_enumer.go
- npc_enumer.go
- struct.go
Click to show internal directories.
Click to hide internal directories.