requests

package
v0.0.0-...-10b6d32 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActStartRequest

type ActStartRequest struct {
	QuickActStartRequest
	DistanceFriendList []netobj.MileageFriend `json:"distanceFriendList"` // TODO: Discover correct type... This might be list of strings
}

type Base

type Base struct {
	SessionID string `json:"sessionId"`
	Version   string `json:"version"`
	Seq       int64  `json:"seq,string"`
}

type ChangeCharacterRequest

type ChangeCharacterRequest struct {
	Base
	MainCharaID string `json:"mainCharacterId"`
	SubCharaID  string `json:"subCharacterId"`
}

type CommitChaoWheelSpinRequest

type CommitChaoWheelSpinRequest struct {
	Base
	Count int64 `json:"count,string"`
}

type CommitWheelSpinRequest

type CommitWheelSpinRequest struct {
	Base
	Count int64 `json:"count,string"`
}

type EquipChaoRequest

type EquipChaoRequest struct {
	Base
	MainChaoID string `json:"mainChaoId"`
	SubChaoID  string `json:"subChaoId"`
}

type FacebookIncentiveRequest

type FacebookIncentiveRequest struct {
	Base
	Type             int64 `json:"type,string"`
	AchievementCount int64 `json:"achievementCount,string"`
}

type ItemStockNumRequest

type ItemStockNumRequest struct {
	Base
	EventID int64   `json:"eventId,string"`
	ItemIDs []int64 `json:"itemIdList"`
}

type LeaderboardEntriesRequest

type LeaderboardEntriesRequest struct {
	Base
	Mode         int64    `json:"mode,string"`
	First        int64    `json:"first,string"`
	Count        int64    `json:"count,string"`
	Type         int64    `json:"type,string"`
	FriendIDList []string `json:"friendIdList"`
}

type LeaderboardRequest

type LeaderboardRequest struct {
	Base
	Mode int64 `json:"mode,string"`
}

type LoginRequest

type LoginRequest struct {
	Version      string `json:"version"`
	Device       string `json:"device"`
	Seq          int64  `json:"seq,string"`
	Platform     int64  `json:"platform,string"`
	Language     int64  `json:"language,string"`
	SalesLocate  int64  `json:"salesLocate,string"`
	StoreID      int64  `json:"storeId,string"`
	PlatformSNS  int64  `json:"platform_sns,string"`
	obj.LineAuth `json:"lineAuth"`
}

type MileageRewardRequest

type MileageRewardRequest struct {
	Base
	Episode int64 `json:"episode,string"`
	Chapter int64 `json:"chapter,string"`
}

type PostGameResultsRequest

type PostGameResultsRequest struct {
	QuickPostGameResultsRequest
	BossDestroyed int64 `json:"bossDestroyed"`
	ChapterClear  int64 `json:"chapterClear"`
	GetChaoEgg    int64 `json:"getChaoEgg"`
	NumBossAttack int64 `json:"numBossAttack,string"`
	ReachPoint    int64 `json:"reachPoint,string"`
}

type QuickActStartRequest

type QuickActStartRequest struct {
	Base
	Modifier []int64 `json:"modifire"`           // Seems to be list of item IDs.
	Tutorial int64   `json:"tutorial,omitempty"` // will omit the field if not found
}

type QuickPostGameResultsRequest

type QuickPostGameResultsRequest struct {
	Base
	Score                  int64  `json:"score,string"`
	Rings                  int64  `json:"numRings,string"`
	FailureRings           int64  `json:"numFailureRings,string"`
	RedRings               int64  `json:"numRedStarRings,string"`
	Distance               int64  `json:"distance,string"`
	DailyChallengeValue    int64  `json:"dailyChallengeValue,string"`
	DailyChallengeComplete int64  `json:"dailyChallengeComplete"`
	Animals                int64  `json:"numAnimals,string"`
	MaxCombo               int64  `json:"maxCombo,string"`
	Closed                 int64  `json:"closed"`
	CheatResult            string `json:"cheatResult"`
}

type RedStarExchange

type RedStarExchange struct {
	Base
	ItemID string `json:"itemId"`
}

type RedStarExchangeListRequest

type RedStarExchangeListRequest struct {
	Base
	ItemType int64 `json:"itemType,string"`
}

type SetUsernameRequest

type SetUsernameRequest struct {
	Base
	Username string `json:"userName"`
}

type UnlockedCharacterRequest

type UnlockedCharacterRequest struct {
	Base
	CharacterID string `json:"characterId"`
	ItemID      string `json:"itemId"`
}

type UpgradeCharacterRequest

type UpgradeCharacterRequest struct {
	Base
	AbilityID   string `json:"abilityId"`
	CharacterID string `json:"characterId"`
}

Jump to

Keyboard shortcuts

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