Documentation
¶
Index ¶
- type ChannelEntry
- type ClubStats
- type Decorations
- type MacroData
- type MacroList
- type PlayerCaddieData
- type PlayerCharacterData
- type PlayerClubData
- type PlayerData
- type PlayerEquipment
- type PlayerEquippedItems
- type PlayerItem
- type PlayerMascotData
- type PlayerStats
- type Rank
- type ServerEntry
- type SystemTime
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelEntry ¶
type Decorations ¶
type PlayerCaddieData ¶
type PlayerCaddieData struct {
Item PlayerItem
Unknown [17]byte
}
type PlayerCharacterData ¶
type PlayerCharacterData struct {
CharTypeID uint32
ID uint32
HairColor uint8
Shirt uint8
Unknown1 byte
Unknown2 byte
PartTypeIDs [24]uint32
PartIDs [24]uint32
Unknown3 [216]byte
AuxParts [5]uint32
CutInID uint32
Unknown4 [12]byte
Stats [5]byte
Mastery int
CardChar [4]uint32
CardCaddie [4]uint32
CardNPC [4]uint32
}
type PlayerClubData ¶
type PlayerClubData struct {
Item PlayerItem
Unknown [10]byte
Stats ClubStats
}
type PlayerData ¶
type PlayerData struct {
UserInfo UserInfo
PlayerStats PlayerStats
Unknown [78]byte
Items PlayerEquipment
JunkData [10836]byte
EquippedCharacter PlayerCharacterData
EquippedCaddie PlayerCaddieData
EquippedClub PlayerClubData
EquippedMascot PlayerMascotData
}
type PlayerEquipment ¶
type PlayerEquipment struct {
CaddieID uint32
CharacterID uint32
ClubSetID uint32
AztecIffID uint32
Items PlayerEquippedItems
Unknown13 uint32
Unknown14 uint32
Unknown15 uint32
Unknown16 uint32
Unknown17 uint32
Unknown18 uint32
Decorations Decorations
MascotID uint32
Unknown26 uint32
Unknown27 uint32
}
type PlayerEquippedItems ¶
type PlayerEquippedItems struct {
ItemIDs [10]uint32
}
type PlayerItem ¶
type PlayerMascotData ¶
type PlayerMascotData struct {
Item PlayerItem
Unknown [5]byte
Text string `struct:"[16]byte"`
Unknown2 [33]byte
}
type PlayerStats ¶
type PlayerStats struct {
Unknown uint32
TotalStrokes uint32
TotalPlayTime uint32
AverageStrokeTime uint32
Unknown2 [12]byte
OBRate uint32
TotalDistance uint32
TotalHoles uint32
Unknown3 uint32
HIO uint32
Unknown4 [26]byte
Experience uint32
Rank Rank
Pangs uint64
Unknown5 [58]byte
QuitRateY uint32
Unknown6 [32]byte
GameComboX uint32
GameComboY uint32
QuitRateX uint32
TotalPangsWin uint64
Unknown7 [38]byte
}
type Rank ¶
type Rank byte
Rank represents an in-game rank.
const ( RookieF Rank = 0x00 RookieE Rank = 0x01 RookieD Rank = 0x02 RookieC Rank = 0x03 RookieB Rank = 0x04 RookieA Rank = 0x05 BeginnerE Rank = 0x06 BeginnerD Rank = 0x07 BeginnerC Rank = 0x08 BeginnerB Rank = 0x09 BeginnerA Rank = 0x0A JuniorE Rank = 0x0B JuniorD Rank = 0x0C JuniorC Rank = 0x0D JuniorB Rank = 0x0E JuniorA Rank = 0x0F SeniorE Rank = 0x10 SeniorD Rank = 0x11 SeniorC Rank = 0x12 SeniorB Rank = 0x13 SeniorA Rank = 0x14 AmateurE Rank = 0x15 AmateurD Rank = 0x16 AmateurC Rank = 0x17 AmateurB Rank = 0x18 AmateurA Rank = 0x19 SemiProE Rank = 0x1A SemiProD Rank = 0x1B SemiProC Rank = 0x1C SemiProB Rank = 0x1D SemiProA Rank = 0x1E ProE Rank = 0x1F ProD Rank = 0x20 ProC Rank = 0x21 ProB Rank = 0x22 ProA Rank = 0x23 NationalProE Rank = 0x24 NationalProD Rank = 0x25 NationalProC Rank = 0x26 NationalProB Rank = 0x27 NationalProA Rank = 0x28 WorldProE Rank = 0x29 WorldProD Rank = 0x2A WorldProC Rank = 0x2B WorldProB Rank = 0x2C WorldProA Rank = 0x2D MasterE Rank = 0x2E MasterD Rank = 0x2F MasterC Rank = 0x30 MasterB Rank = 0x31 MasterA Rank = 0x32 TopMasterE Rank = 0x33 TopMasterD Rank = 0x34 TopMasterC Rank = 0x35 TopMasterB Rank = 0x36 TopMasterA Rank = 0x37 WorldMasterE Rank = 0x38 WorldMasterD Rank = 0x39 WorldMasterC Rank = 0x3A WorldMasterB Rank = 0x3B WorldMasterA Rank = 0x3C LegendE Rank = 0x3D LegendD Rank = 0x3E LegendC Rank = 0x3F LegendB Rank = 0x40 LegendA Rank = 0x41 InfinityLegendE Rank = 0x42 InfinityLegendD Rank = 0x43 InfinityLegendC Rank = 0x44 InfinityLegendB Rank = 0x45 InfinityLegendA Rank = 0x46 )
These are the known possible in-game rank values.
type ServerEntry ¶
type ServerEntry struct {
ServerName string `struct:"[40]byte"`
ServerID uint32
MaxUsers uint32
NumUsers uint32
IPAddress string `struct:"[18]byte"`
Port uint16
Unknown3 uint16
Flags uint16
Unknown4 [16]byte
Count byte `struct:"sizeof=Channels"`
Channels []ChannelEntry
}
ServerEntry represents a server in a ServerListMessage.
type SystemTime ¶
Click to show internal directories.
Click to hide internal directories.