requests

package
v0.0.0-...-929fa59 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 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 DrawRaidBossRequest

type DrawRaidBossRequest struct {
	Base
	EventID int64 `json:"eventId,string"`
	Score   int64 `json:"score,string"`
}

type EquipChaoRequest

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

type EventActStartRequest

type EventActStartRequest struct {
	Base
	Modifier     []string `json:"modifire"` // Seems to be list of item IDs.
	RaidbossID   int64    `json:"raidbossId,string"`
	EventID      int64    `json:"eventId,string"`
	EnergyExpend int64    `json:"energyExpend,string"` // the amount of raidboss energy to be used?
}

type EventPostGameResultsRequest

type EventPostGameResultsRequest struct {
	Base
	EventID          int64 `json:"eventId,string"`
	NumRaidbossRings int64 `json:"numRaidbossRings,string"`
}

type EventUpdateGameResultsRequest

type EventUpdateGameResultsRequest 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,string"`
	Animals                int64 `json:"numAnimals,string"`
	MaxCombo               int64 `json:"maxCombo,string"`
	Closed                 int64 `json:"closed,string"`
	EventID                int64 `json:"eventId,string"`
	EventValue             int64 `json:"eventValue,string"`
	RaidbossID             int64 `json:"raidbossId,string"`
	RaidbossDamage         int64 `json:"raidbossDamage,string"`
	RaidbossBeatFlg        int64 `json:"raidbossBeatFlg,string"`
}

type FacebookIncentiveRequest

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

type GenericEventRequest

type GenericEventRequest struct {
	Base
	EventID int64 `json:"eventId,string"`
}

type GetDailyBattleHistoryRequest

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

type GetMessageRequest

type GetMessageRequest struct {
	Base
	MessageIDs         interface{} `json:"messageId"`          // can either be a list of int64s or "0"
	OperatorMessageIDs interface{} `json:"operationMessageId"` // can either be a list of int64s or "0"
}

type GetMigrationPasswordRequest

type GetMigrationPasswordRequest struct {
	UserPassword string `json:"userPassword"`
}

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 LoginBonusSelectRequest

type LoginBonusSelectRequest struct {
	RewardID          int64 `json:"rewardId,string"`
	RewardDays        int64 `json:"rewardDays,string"`
	RewardSelect      int64 `json:"rewardSelect,string"`
	FirstRewardDays   int64 `json:"firstRewardDays,string"`
	FirstRewardSelect int64 `json:"firstRewardSelect,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"`
	EventId       int64 `json:"eventId,string"`
	EventValue    int64 `json:"eventValue,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 ResetDailyBattleMatchingRequest

type ResetDailyBattleMatchingRequest struct {
	Type int64 `json:"type,string"`
}

type SendApolloRequest

type SendApolloRequest struct {
	Base
	Type  int64    `json:"type,string"`
	Value []string `json:"value"`
}

type SetNoahIDRequest

type SetNoahIDRequest struct {
	Base
	NoahID int64 `json:"noahId,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