minus_one

package
Version: v0.0.0-...-b7eb296 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventMatchCreatedMethod    thread.LogMethod = "Event.MatchCreated"
	TrackProgressUpdatedMethod thread.LogMethod = "TrackProgress.Updated"
	InventoryUpdatedMethod     thread.LogMethod = "Inventory.Updated"
	RankUpdatedMethod          thread.LogMethod = "Rank.Updated"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AetherizedCard

type AetherizedCard struct {
	GrpId       int    `json:"grpId"`
	GoldAwarded int    `json:"goldAwarded"`
	GemsAwarded int    `json:"gemsAwarded"`
	Set         string `json:"set"`
}

type Delta

type Delta struct {
	GemsDelta          int      `json:"gemsDelta"`
	BoosterDelta       []string `json:"boosterDelta"`
	CardsAdded         []string `json:"cardsAdded"`
	DecksAdded         []string `json:"decksAdded"`
	VanityItemsAdded   []string `json:"vanityItemsAdded"`
	VanityItemsRemoved []string `json:"vanityItemsRemoved"`
	DraftTokensDelta   int      `json:"draftTokensDelta"`
	GoldDelta          int      `json:"goldDelta"`
	SealedTokensDelta  int      `json:"sealedTokensDelta"`
	VaultProgressDelta float64  `json:"vaultProgressDelta"`
	WcCommonDelta      int      `json:"wcCommonDelta"`
	WcUncommonDelta    int      `json:"wcUncommonDelta"`
	WcRareDelta        int      `json:"wcRareDelta"`
	WcMythicDelta      int      `json:"wcMythicDelta"`
	ArtSkinsAdded      []string `json:"artSkinsAdded"`
	VoucherItemsDelta  []string `json:"voucherItemsDelta"`
}

type InventoryUpdate

type InventoryUpdate struct {
	Delta           Delta            `json:"delta"`
	AetherizedCards []AetherizedCard `json:"aetherizedCards"`
	Context         string           `json:"context"`
	XpGained        int              `json:"xpGained"`
}

type MatchCreated

type MatchCreated struct {
	ControllerFabricUri            string   `json:"controllerFabricUri"`
	MatchEndpointHost              string   `json:"matchEndpointHost"`
	MatchEndpointPort              int      `json:"matchEndpointPort"`
	OpponentScreenName             string   `json:"opponentScreenName"`
	OpponentIsWotc                 bool     `json:"opponentIsWotc"`
	MatchId                        string   `json:"matchId"`
	OpponentRankingClass           string   `json:"opponentRankingClass"`
	OpponentRankingTier            int      `json:"opponentRankingTier"`
	OpponentMythicPercentile       float64  `json:"opponentMythicPercentile"`
	OpponentMythicLeaderboardPlace int      `json:"opponentMythicLeaderboardPlace"`
	EventId                        string   `json:"eventId"`
	OpponentAvatarSelection        string   `json:"opponentAvatarSelection"`
	OpponentCardBackSelection      string   `json:"opponentCardBackSelection"`
	OpponentPetSelection           string   `json:"opponentPetSelection"`
	OpponentPetModSelections       []string `json:"opponentPetModSelections"`
	AvatarSelection                string   `json:"avatarSelection"`
	CardbackSelection              string   `json:"cardbackSelection"`
	PetModSelections               []string `json:"petModSelections"`
	Battlefield                    string   `json:"battlefield"`
}

type RankUpdate

type RankUpdate struct {
	PlayerId         string `json:"playerId"`
	SeasonOrdinal    int    `json:"seasonOrdinal"`
	NewClass         string `json:"newClass"`
	NewLevel         int    `json:"newLevel"`
	OldLevel         int    `json:"oldLevel"`
	NewStep          int    `json:"newStep"`
	OldStep          int    `json:"oldStep"`
	WasLossProtected bool   `json:"wasLossProtected"`
	RankUpdateType   string `json:"rankUpdateType"`
}

type TrackProgress

type TrackProgress struct {
	TrackName string `json:"trackName"`
	TrackTier int    `json:"trackTier"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL