event

package
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: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveEvent

type ActiveEvent struct {
	PublicEventName   string `json:"PublicEventName"`
	InternalEventName string `json:"InternalEventName"`
	EventState        string `json:"EventState"`
	EventType         string `json:"EventType"`
	ModuleGlobalData  struct {
		EntryFees []struct {
			CurrencyType string `json:"CurrencyType"`
			Quantity     int    `json:"Quantity"`
			MaxUses      string `json:"MaxUses"`
		} `json:"EntryFees"`
		CollationIds      []int                  `json:"CollationIds"`
		DeckSelect        string                 `json:"DeckSelect"`
		RankUpdateType    string                 `json:"RankUpdateType"`
		MaxWins           int                    `json:"MaxWins"`
		MaxLosses         int                    `json:"MaxLosses"`
		Prizes            []string               `json:"Prizes"`
		ChestDescriptions []incoming.Description `json:"ChestDescriptions"`
	} `json:"ModuleGlobalData"`
	StartTime            string `json:"StartTime"`
	LockedTime           string `json:"LockedTime"`
	ClosedTime           string `json:"ClosedTime"`
	Parameters           string `json:"Parameters"`
	Group                string `json:"Group"`
	PastEntries          string `json:"PastEntries"`
	DisplayPriority      int    `json:"DisplayPriority"`
	IsArenaPlayModeEvent bool   `json:"IsArenaPlayModeEvent"`
	Emblems              string `json:"Emblems"`
	UsePlayerCourse      bool   `json:"UsePlayerCourse"`
	UILayoutOptions      struct {
		ResignBehavior     string `json:"ResignBehavior"`
		WinTrackBehavior   string `json:"WinTrackBehavior"`
		EventBladeBehavior string `json:"EventBladeBehavior"`
		DeckButtonBehavior string `json:"DeckButtonBehavior"`
		TemplateName       string `json:"TemplateName"`
	} `json:"UILayoutOptions"`
	SkipValidation bool `json:"SkipValidation"`
}

type ClaimPrize

type ClaimPrize struct {
	Id                 string `json:"Id"`
	InternalEventName  string `json:"InternalEventName"`
	PlayerId           string `json:"PlayerId"`
	ModuleInstanceData struct {
		HasPaidEntry string `json:"HasPaidEntry"`
		DeckSelected bool   `json:"DeckSelected"`
		WinLossGate  struct {
			MaxWins           int      `json:"MaxWins"`
			MaxLosses         int      `json:"MaxLosses"`
			CurrentWins       int      `json:"CurrentWins"`
			CurrentLosses     int      `json:"CurrentLosses"`
			ProcessedMatchIds []string `json:"ProcessedMatchIds"`
		} `json:"WinLossGate"`
		HasClaimedPrize bool `json:"HasClaimedPrize"`
	} `json:"ModuleInstanceData"`
	CurrentEventState string          `json:"CurrentEventState"`
	CurrentModule     string          `json:"CurrentModule"`
	CardPool          string          `json:"CardPool"`
	CourseDeck        deck.PreconDeck `json:"CourseDeck"`
	PreviousOpponents []string        `json:"PreviousOpponents"`
}

type CombinedRankInfo

type CombinedRankInfo struct {
	PlayerId                    string  `json:"playerId"`
	ConstructedSeasonOrdinal    int     `json:"constructedSeasonOrdinal"`
	ConstructedClass            string  `json:"constructedClass"`
	ConstructedLevel            int     `json:"constructedLevel"`
	ConstructedStep             int     `json:"constructedStep"`
	ConstructedMatchesWon       int     `json:"constructedMatchesWon"`
	ConstructedMatchesLost      int     `json:"constructedMatchesLost"`
	ConstructedMatchesDrawn     int     `json:"constructedMatchesDrawn"`
	LimitedSeasonOrdinal        int     `json:"limitedSeasonOrdinal"`
	LimitedClass                string  `json:"limitedClass"`
	LimitedLevel                int     `json:"limitedLevel"`
	LimitedStep                 int     `json:"limitedStep"`
	LimitedMatchesWon           int     `json:"limitedMatchesWon"`
	LimitedMatchesLost          int     `json:"limitedMatchesLost"`
	LimitedMatchesDrawn         int     `json:"limitedMatchesDrawn"`
	ConstructedPercentile       float64 `json:"constructedPercentile"`
	ConstructedLeaderboardPlace int     `json:"constructedLeaderboardPlace"`
	LimitedPercentile           float64 `json:"limitedPercentile"`
	LimitedLeaderboardPlace     int     `json:"limitedLeaderboardPlace"`
}

type Course

type Course struct {
	Id                 string `json:"Id"`
	InternalEventName  string `json:"InternalEventName"`
	PlayerId           string `json:"PlayerId"`
	ModuleInstanceData struct {
		DeckSelected bool `json:"DeckSelected"`
	} `json:"ModuleInstanceData"`
	CurrentEventState string    `json:"CurrentEventState"`
	CurrentModule     string    `json:"CurrentModule"`
	CardPool          string    `json:"CardPool"`
	CourseDeck        deck.Deck `json:"CourseDeck"`
	PreviousOpponents []string  `json:"PreviousOpponents"`
}

type DeckSubmit

type DeckSubmit struct {
	EventName string `json:"eventName"`
	Deck      string `json:"deck"`
}

type Draft

type Draft struct {
	Id                 string `json:"Id"`
	InternalEventName  string `json:"InternalEventName"`
	PlayerId           string `json:"PlayerId"`
	ModuleInstanceData struct {
		HasPaidEntry string `json:"HasPaidEntry"`
		DraftInfo    struct {
			DraftId string `json:"DraftId"`
		} `json:"DraftInfo"`
	} `json:"ModuleInstanceData"`
	CurrentEventState string   `json:"CurrentEventState"`
	CurrentModule     string   `json:"CurrentModule"`
	CardPool          string   `json:"CardPool"`
	CourseDeck        string   `json:"CourseDeck"`
	PreviousOpponents []string `json:"PreviousOpponents"`
}

type LeaveQueue

type LeaveQueue struct {
	DidDrop       bool   `json:"didDrop"`
	ActiveMatches string `json:"activeMatches"`
}

type PayEntry

type PayEntry struct {
	Id                 string `json:"Id"`
	InternalEventName  string `json:"InternalEventName"`
	PlayerId           string `json:"PlayerId"`
	ModuleInstanceData struct {
		HasPaidEntry string `json:"HasPaidEntry"`
	} `json:"ModuleInstanceData"`
	CurrentEventState string   `json:"CurrentEventState"`
	CurrentModule     string   `json:"CurrentModule"`
	CardPool          string   `json:"CardPool"`
	CourseDecks       string   `json:"CourseDeck"`
	PreviousOpponents []string `json:"PreviousOpponents"`
}

type Payout

type Payout struct {
	EventPayouts []string `json:"eventPayouts"`
	SeasonPayout string   `json:"seasonPayout"`
}

type RankInfo

type RankInfo struct {
	RankClass string `json:"rankClass"`
	Level     int    `json:"level"`
	Steps     int    `json:"steps"`
}

type Season

type Season struct {
	Bronze   incoming.Description `json:"bronze"`
	Silver   incoming.Description `json:"silver"`
	Gold     incoming.Description `json:"gold"`
	Platinum incoming.Description `json:"platinum"`
	Diamond  incoming.Description `json:"diamond"`
	Mythic   incoming.Description `json:"mythic"`
}

type SeasonRankAndDetail

type SeasonRankAndDetail struct {
	CurrentSeason struct {
		SeasonOrdinal            int    `json:"seasonOrdinal"`
		SeasonStartTime          string `json:"seasonStartTime"`
		SeasonEndTime            string `json:"seasonEndTime"`
		SeasonLimitedRewards     Season `json:"seasonLimitedRewards"`
		SeasonConstructedRewards Season `json:"seasonConstructedRewards"`
		MinMatches               int    `json:"minMatches"`
	} `json:"currentSeason"`
	LimitedRankInfo     []RankInfo `json:"limitedRankInfo"`
	ConstructedRankInfo []RankInfo `json:"constructedRankInfo"`
}

Jump to

Keyboard shortcuts

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