Documentation
¶
Index ¶
- type Activity
- type PostGameCarnageReport
- type PostGameCarnageReportBasicValue
- type PostGameCarnageReportEntry
- type PostGameCarnageReportExtended
- type PostGameCarnageReportWeapon
- type PostGameCarnageReportWeaponValue
- type PostGameCarnageReportWeaponValues
- type Profile
- type ProfileContainer
- type ProfileData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct {
InstanceId string
DbActivity *database.DbActivityData
}
func GetActivities ¶
type PostGameCarnageReport ¶
type PostGameCarnageReport struct {
Period string `json:"period"`
Entries []PostGameCarnageReportEntry `json:"entries"`
DbPostGameCarnageReport *database.DbPostGameCarnageReportData
}
func GetPostGameCarnageReportsByInstanceId ¶
func GetPostGameCarnageReportsByInstanceId(db *database.DbPostGameCarnageReport, apiKey string, instanceId string) ([]*PostGameCarnageReport, error)
type PostGameCarnageReportEntry ¶
type PostGameCarnageReportEntry struct {
CharacterId string `json:"characterId"`
Extended PostGameCarnageReportExtended `json:"extended"`
}
type PostGameCarnageReportExtended ¶
type PostGameCarnageReportExtended struct {
Weapons []PostGameCarnageReportWeapon `json:"weapons"`
}
type PostGameCarnageReportWeapon ¶
type PostGameCarnageReportWeapon struct {
ReferenceId int `json:"referenceId"`
Values PostGameCarnageReportWeaponValues `json:"values"`
}
type PostGameCarnageReportWeaponValue ¶
type PostGameCarnageReportWeaponValue struct {
Basic PostGameCarnageReportBasicValue `json:"basic"`
}
type PostGameCarnageReportWeaponValues ¶
type PostGameCarnageReportWeaponValues struct {
UniqueWeaponKills PostGameCarnageReportWeaponValue `json:"uniqueWeaponKills"`
UniqueWeaponPrecisionKills PostGameCarnageReportWeaponValue `json:"uniqueWeaponPrecisionKills"`
}
type Profile ¶
type Profile struct {
Data ProfileData `json:"data"`
Privacy int `json:"privacy"`
}
type ProfileContainer ¶
type ProfileContainer struct {
Profile Profile `json:"profile"`
ResponseMintedTimestamp string `json:"responseMintedTimestamp"`
SecondaryComponentsMintedTimestamp string `json:"secondaryComponentsMintedTimestamp"`
DBProfile *database.DbProfileData
}
func GetProfilesByUsername ¶
type ProfileData ¶
Click to show internal directories.
Click to hide internal directories.