Documentation ¶
Index ¶
- type ActStartBaseResponse
- type ActStartResponse
- type BaseResponse
- type CampaignListResponse
- type ChangeCharacterResponse
- type ChaoStateResponse
- type ChaoWheelOptionsResponse
- type ChaoWheelSpinResponse
- type CharacterStateResponse
- type CostListResponse
- type DailyBattleDataResponse
- type DailyChallengeDataResponse
- type EquipChaoResponse
- type EventListResponse
- type EventRewardListResponse
- type EventStateResponse
- type FacebookIncentiveResponse
- type FreeItemListResponse
- type GetCountryResponse
- type GetDailyBattleHistoryResponse
- type GetDailyBattleStatusResponse
- type GetMessageResponse
- type GetPrizeDailyBattleResponse
- type InformationResponse
- type ItemStockNumResponse
- type LeagueDataResponse
- type LoginBonusResponse
- type LoginBonusSelectResponse
- type LoginCheckKeyResponse
- type LoginRegisterResponse
- type LoginSuccessResponse
- type MessageListResponse
- type MigrationPasswordResponse
- type MigrationSuccessResponse
- type MileageDataResponse
- type MileageRewardResponse
- type NextVersionResponse
- type NoRivalDailyBattleDataResponse
- type NoScoreDailyBattleDataResponse
- type OptionUserResultResponse
- type PlayerStateResponse
- type PostDailyBattleResultResponse
- type PostDailyBattleResultResponseNoData
- type PostDailyBattleResultResponseNoRival
- type PostDailyBattleResultResponseWithReward
- type PostGameResultsEventResponse
- type PostGameResultsResponse
- type PrizeChaoWheelResponse
- type QuickActStartResponse
- type QuickPostGameResultsResponse
- type RedStarExchangeListResponse
- type RedStarExchangeResponse
- type ResetDailyBattleMatchingNoOpponentResponse
- type ResetDailyBattleMatchingResponse
- type TickerResponse
- type UpdateDailyBattleStatusResponse
- type UpdateDailyBattleStatusResponseWithReward
- type UpgradeCharacterResponse
- type VariousParameterResponse
- type WeeklyLeaderboardEntriesResponse
- type WeeklyLeaderboardOptionsResponse
- type WheelOptionsResponse
- type WheelSpinResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActStartBaseResponse ¶
type ActStartBaseResponse struct { BaseResponse PlayerState netobj.PlayerState `json:"playerState"` CampaignList []obj.Campaign `json:"campaignList"` }
func ActStartBase ¶
func ActStartBase(base responseobjs.BaseInfo, playerState netobj.PlayerState, campaignList []obj.Campaign) ActStartBaseResponse
type ActStartResponse ¶
type ActStartResponse struct { ActStartBaseResponse DistanceFriendList []netobj.MileageFriend `json:"distanceFriendList"` // TODO: Discover if correct type }
func ActStart ¶
func ActStart(base responseobjs.BaseInfo, playerState netobj.PlayerState, campaignList []obj.Campaign, distFriends []netobj.MileageFriend) ActStartResponse
func DefaultActStart ¶
func DefaultActStart(base responseobjs.BaseInfo, player netobj.Player, campaignList []obj.Campaign) ActStartResponse
type BaseResponse ¶
type BaseResponse struct { responseobjs.BaseInfo AssetsVersion string `json:"assets_version"` // doesn't necessarily have to be a number ClientDataVersion string `json:"client_data_version"` DataVersion string `json:"data_version"` InfoVersion string `json:"info_version"` Version string `json:"version"` OutrunVersion string `json:"ORN_version"` }
func NewBaseResponse ¶
func NewBaseResponse(base responseobjs.BaseInfo) BaseResponse
func NewBaseResponseV ¶
func NewBaseResponseV(base responseobjs.BaseInfo, gameVersion string) BaseResponse
type CampaignListResponse ¶
type CampaignListResponse struct { BaseResponse CampaignList []obj.Campaign `json:"campaignList"` }
func CampaignList ¶
func CampaignList(base responseobjs.BaseInfo, campaignList []obj.Campaign) CampaignListResponse
func DefaultCampaignList ¶
func DefaultCampaignList(base responseobjs.BaseInfo) CampaignListResponse
type ChangeCharacterResponse ¶
type ChangeCharacterResponse struct { BaseResponse PlayerState netobj.PlayerState `json:"playerState"` }
func ChangeCharacter ¶
func ChangeCharacter(base responseobjs.BaseInfo, playerState netobj.PlayerState) ChangeCharacterResponse
type ChaoStateResponse ¶
type ChaoStateResponse struct { BaseResponse ChaoState []netobj.Chao `json:"chaoState"` }
func ChaoState ¶
func ChaoState(base responseobjs.BaseInfo, chaoState []netobj.Chao) ChaoStateResponse
type ChaoWheelOptionsResponse ¶
type ChaoWheelOptionsResponse struct { BaseResponse ChaoWheelOptions netobj.ChaoWheelOptions `json:"chaoWheelOptions"` }
func ChaoWheelOptions ¶
func ChaoWheelOptions(base responseobjs.BaseInfo, chaoWheelOptions netobj.ChaoWheelOptions) ChaoWheelOptionsResponse
func DefaultChaoWheelOptions ¶
func DefaultChaoWheelOptions(base responseobjs.BaseInfo, player netobj.Player) ChaoWheelOptionsResponse
type ChaoWheelSpinResponse ¶
type ChaoWheelSpinResponse struct { BaseResponse PlayerState netobj.PlayerState `json:"playerState"` CharacterState []netobj.Character `json:"characterState"` ChaoState []netobj.Chao `json:"chaoState"` // also works with json:"chaoStatus" ChaoWheelOptions netobj.ChaoWheelOptions `json:"chaoWheelOptions"` ChaoSpinResults []netobj.ChaoSpinResult `json:"chaoSpinResultList"` // Should only contain one element! Otherwise, ItemWon is interpreted as -1 }
func ChaoWheelSpin ¶
func ChaoWheelSpin(base responseobjs.BaseInfo, playerState netobj.PlayerState, characterState []netobj.Character, chaoState []netobj.Chao, chaoWheelOptions netobj.ChaoWheelOptions, chaoSpinResults []netobj.ChaoSpinResult) ChaoWheelSpinResponse
func DefaultChaoWheelSpin ¶
func DefaultChaoWheelSpin(base responseobjs.BaseInfo, player netobj.Player) ChaoWheelSpinResponse
type CharacterStateResponse ¶
type CharacterStateResponse struct { BaseResponse CharacterState []netobj.Character `json:"characterState"` }
func CharacterState ¶
func CharacterState(base responseobjs.BaseInfo, characterState []netobj.Character) CharacterStateResponse
type CostListResponse ¶
type CostListResponse struct { BaseResponse ConsumedCostList []obj.ConsumedItem `json:"consumedCostList"` }
func CostList ¶
func CostList(base responseobjs.BaseInfo, consumedCostList []obj.ConsumedItem) CostListResponse
func DefaultCostList ¶
func DefaultCostList(base responseobjs.BaseInfo) CostListResponse
type DailyBattleDataResponse ¶
type DailyBattleDataResponse struct { BaseResponse obj.BattlePair }
func DailyBattleData ¶
func DailyBattleData(base responseobjs.BaseInfo, startTime, endTime int64, battleData, rivalBattleData obj.BattleData) DailyBattleDataResponse
func DefaultMatchedDailyBattleData ¶
func DefaultMatchedDailyBattleData(base responseobjs.BaseInfo, player netobj.Player) DailyBattleDataResponse
type DailyChallengeDataResponse ¶
type DailyChallengeDataResponse struct { BaseResponse IncentiveList []obj.Incentive `json:"incentiveList"` IncentiveListCount int64 `json:"incentiveListCont"` NumDailyChallengeCount int64 `json:"numDilayChalCont"` NumDailyChallengeDay int64 `json:"numDailyChalDay"` MaxDailyChallengeDay int64 `json:"maxDailyChalDay"` EndTime int64 `json:"chalEndTime"` }
func DailyChallengeData ¶
func DailyChallengeData(base responseobjs.BaseInfo, numDailyChallenge, nextNumDailyChallenge int64) DailyChallengeDataResponse
type EquipChaoResponse ¶
type EquipChaoResponse struct { BaseResponse PlayerState netobj.PlayerState `json:"playerState"` }
func EquipChao ¶
func EquipChao(base responseobjs.BaseInfo, playerState netobj.PlayerState) EquipChaoResponse
type EventListResponse ¶
type EventListResponse struct { BaseResponse EventList []obj.Event `json:"eventList"` }
func DefaultEventList ¶
func DefaultEventList(base responseobjs.BaseInfo) EventListResponse
func EventList ¶
func EventList(base responseobjs.BaseInfo, eventList []obj.Event) EventListResponse
type EventRewardListResponse ¶
type EventRewardListResponse struct { BaseResponse EventRewardList []obj.EventReward `json:"eventRewardList"` }
func DefaultEventRewardList ¶
func DefaultEventRewardList(base responseobjs.BaseInfo) EventRewardListResponse
func EventRewardList ¶
func EventRewardList(base responseobjs.BaseInfo, eventRewardList []obj.EventReward) EventRewardListResponse
type EventStateResponse ¶
type EventStateResponse struct { BaseResponse netobj.EventState `json:"eventState"` }
func EventState ¶
func EventState(base responseobjs.BaseInfo, eventState netobj.EventState) EventStateResponse
type FacebookIncentiveResponse ¶
type FacebookIncentiveResponse struct { BaseResponse PlayerState netobj.PlayerState `json:"playerState"` Presents []obj.Present `json:"incentive"` }
func DefaultFacebookIncentive ¶
func DefaultFacebookIncentive(base responseobjs.BaseInfo, player netobj.Player) FacebookIncentiveResponse
func FacebookIncentive ¶
func FacebookIncentive(base responseobjs.BaseInfo, playerState netobj.PlayerState, presents []obj.Present) FacebookIncentiveResponse
type FreeItemListResponse ¶
type FreeItemListResponse struct { BaseResponse FreeItemList []obj.Item `json:"freeItemList"` }
func DefaultFreeItemList ¶
func DefaultFreeItemList(base responseobjs.BaseInfo) FreeItemListResponse
func FreeItemList ¶
func FreeItemList(base responseobjs.BaseInfo, freeItemList []obj.Item) FreeItemListResponse
type GetCountryResponse ¶
type GetCountryResponse struct { BaseResponse CountryID int64 `json:"countryId,string"` CountryCode string `json:"countryCode"` }
func DefaultGetCountry ¶
func DefaultGetCountry(base responseobjs.BaseInfo) GetCountryResponse
func GetCountry ¶
func GetCountry(base responseobjs.BaseInfo, countryID int64, countryCode string) GetCountryResponse
type GetDailyBattleHistoryResponse ¶
type GetDailyBattleHistoryResponse struct { BaseResponse BattleDataList []obj.BattlePair `json:"battleDataList"` }
func GetDailyBattleHistory ¶
func GetDailyBattleHistory(base responseobjs.BaseInfo, battleDataList []obj.BattlePair) GetDailyBattleHistoryResponse
type GetDailyBattleStatusResponse ¶
type GetDailyBattleStatusResponse struct { BaseResponse EndTime int64 `json:"endTime"` BattleStatus obj.BattleStatus `json:"battleStatus"` }
func GetDailyBattleStatus ¶
func GetDailyBattleStatus(base responseobjs.BaseInfo, endTime int64, battleStatus obj.BattleStatus) GetDailyBattleStatusResponse
type GetMessageResponse ¶
type GetMessageResponse struct { BaseResponse PlayerState netobj.PlayerState `json:"playerState"` CharacterState []netobj.Character `json:"characterState"` ChaoState []netobj.Chao `json:"chaoState"` PresentList []obj.Present `json:"presentList"` // obtained gifts? RemainingMessageIDs []int64 `json:"notRecvMessageList"` // IDs of messages not yet received? RemainingOperatorMessageIDs []int64 `json:"notRecvOperatorMessageList"` // IDs of operator messages not yet received? }
func GetMessage ¶
func GetMessage(base responseobjs.BaseInfo, player netobj.Player, presentList []obj.Present, remainingMessageIDs, remainingOperatorMessageIDs []int64) GetMessageResponse
type GetPrizeDailyBattleResponse ¶
type GetPrizeDailyBattleResponse struct { BaseResponse BattlePrizeDataList []obj.OperatorScore `json:"battlePrizeDataList"` }
func DefaultGetPrizeDailyBattle ¶
func DefaultGetPrizeDailyBattle(base responseobjs.BaseInfo) GetPrizeDailyBattleResponse
func GetPrizeDailyBattle ¶
func GetPrizeDailyBattle(base responseobjs.BaseInfo, battlePrizeDataList []obj.OperatorScore) GetPrizeDailyBattleResponse
type InformationResponse ¶
type InformationResponse struct { BaseResponse Infos []obj.Information `json:"informations"` OperatorInfos []obj.OperatorInformation `json:"operatorEachInfos"` NumOperatorUnread int64 `json:"numOperatorInfo"` }
func DefaultInformation ¶
func DefaultInformation(base responseobjs.BaseInfo) InformationResponse
func Information ¶
func Information(base responseobjs.BaseInfo, infos []obj.Information, opinfos []obj.OperatorInformation, numOpUnread int64) InformationResponse
type ItemStockNumResponse ¶
type ItemStockNumResponse struct { BaseResponse ItemStockList []obj.Item `json:"itemStockList"` }
func DefaultItemStockNum ¶
func DefaultItemStockNum(base responseobjs.BaseInfo) ItemStockNumResponse
func ItemStockNum ¶
func ItemStockNum(base responseobjs.BaseInfo, itemStockList []obj.Item) ItemStockNumResponse
type LeagueDataResponse ¶
type LeagueDataResponse struct { BaseResponse LeagueData obj.LeagueData `json:"leagueData"` Mode int64 `json:"mode"` }
func DefaultLeagueData ¶
func DefaultLeagueData(base responseobjs.BaseInfo, mode int64) LeagueDataResponse
func LeagueData ¶
func LeagueData(base responseobjs.BaseInfo, leagueData obj.LeagueData, mode int64) LeagueDataResponse
type LoginBonusResponse ¶
type LoginBonusResponse struct { BaseResponse LoginBonusStatus obj.LoginBonusStatus `json:"loginBonusStatus"` LoginBonusRewardList []obj.LoginBonusReward `json:"loginBonusRewardList"` FirstLoginBonusRewardList []obj.LoginBonusReward `json:"firstLoginBonusRewardList"` StartTime int64 `json:"startTime"` EndTime int64 `json:"endTime"` RewardID int64 `json:"rewardId"` RewardDays int64 `json:"rewardDays"` FirstRewardDays int64 `json:"firstRewardDays"` }
func DefaultLoginBonus ¶
func DefaultLoginBonus(base responseobjs.BaseInfo, player netobj.Player, doLoginBonus bool) LoginBonusResponse
func LoginBonus ¶
func LoginBonus(base responseobjs.BaseInfo, lbs obj.LoginBonusStatus, lbrl, flbrl []obj.LoginBonusReward, st, et, rid, rd, frd int64) LoginBonusResponse
type LoginBonusSelectResponse ¶
type LoginBonusSelectResponse struct { BaseResponse RewardList []obj.Item `json:"rewardList,omitempty"` FirstRewardList []obj.Item `json:"firstRewardList,omitempty"` }
func LoginBonusSelect ¶
func LoginBonusSelect(base responseobjs.BaseInfo, rl, frl []obj.Item) LoginBonusSelectResponse
type LoginCheckKeyResponse ¶
type LoginCheckKeyResponse struct { BaseResponse Key string `json:"key"` }
func LoginCheckKey ¶
func LoginCheckKey(base responseobjs.BaseInfo, key string) LoginCheckKeyResponse
type LoginRegisterResponse ¶
type LoginRegisterResponse struct { BaseResponse UserID string `json:"userId"` Password string `json:"password"` Key string `json:"key"` CountryID int64 `json:"countryId,string"` CountryCode string `json:"countryCode"` }
func LoginRegister ¶
func LoginRegister(base responseobjs.BaseInfo, uid, password, key string) LoginRegisterResponse
type LoginSuccessResponse ¶
type LoginSuccessResponse struct { BaseResponse Username string `json:"userName"` SessionID string `json:"sessionId"` SessionTimeLimit int64 `json:"sessionTimeLimit"` EnergyRecoveryTime int64 `json:"energyRecveryTime,string"` // misspelling is _actually_ in the game! EnergyRecoveryMax int64 `json:"energyRecoveryMax,string"` InviteBasicIncentive obj.Item `json:"inviteBasicIncentiv"` }
func LoginSuccess ¶
func LoginSuccess(base responseobjs.BaseInfo, sid, username string, energyRecoveryTime, energyRecoveryMax int64) LoginSuccessResponse
type MessageListResponse ¶
type MessageListResponse struct { BaseResponse MessageList []obj.Message `json:"messageList"` TotalMessages int64 `json:"totalMessage"` OperatorMessageList []obj.OperatorMessage `json:"operatorMessageList"` TotalOperatorMessages int64 `json:"totalOperatorMessage"` }
func DefaultMessageList ¶
func DefaultMessageList(base responseobjs.BaseInfo) MessageListResponse
func MessageList ¶
func MessageList(base responseobjs.BaseInfo, msgl []obj.Message, opmsgl []obj.OperatorMessage) MessageListResponse
type MigrationPasswordResponse ¶
type MigrationPasswordResponse struct { BaseResponse Password string `json:"password"` }
func MigrationPassword ¶
func MigrationPassword(base responseobjs.BaseInfo, player netobj.Player) MigrationPasswordResponse
type MigrationSuccessResponse ¶
type MigrationSuccessResponse struct { BaseResponse UserID string `json:"userId"` Username string `json:"userName"` Password string `json:"password"` SessionID string `json:"sessionId"` SessionTimeLimit int64 `json:"sessionTimeLimit"` // game will log in again after this (non-UTC apparently) time EnergyRecoveryTime int64 `json:"energyRecveryTime,string"` // seconds until energy regenerates (misspelling is _actually_ in the game!) EnergyRecoveryMax int64 `json:"energyRecoveryMax,string"` // maximum energy recoverable over time InviteBasicIncentive obj.Item `json:"inviteBasicIncentiv"` ChaoRentalBasicIncentive obj.Item `json:"chaoRentalBasicIncentiv"` }
func MigrationSuccess ¶
func MigrationSuccess(base responseobjs.BaseInfo, sid, uid, username, password string, energyRecoveryTime, energyRecoveryMax int64) MigrationSuccessResponse
type MileageDataResponse ¶
type MileageDataResponse struct { BaseResponse MileageFriendList []netobj.MileageFriend `json:"mileageFriendList"` MileageMapState netobj.MileageMapState `json:"mileageMapState"` }
func DefaultMileageData ¶
func DefaultMileageData(base responseobjs.BaseInfo, player netobj.Player) MileageDataResponse
func MileageData ¶
func MileageData(base responseobjs.BaseInfo, mileageFriendList []netobj.MileageFriend, mileageMapState netobj.MileageMapState) MileageDataResponse
type MileageRewardResponse ¶
type MileageRewardResponse struct { BaseResponse MileageRewards []obj.MileageReward `json:"mileageMapRewardList"` }
func DefaultMileageReward ¶
func DefaultMileageReward(base responseobjs.BaseInfo, chapter, episode int64) MileageRewardResponse
func MileageReward ¶
func MileageReward(base responseobjs.BaseInfo, mileageRewards []obj.MileageReward) MileageRewardResponse
type NextVersionResponse ¶
type NextVersionResponse struct { responseobjs.BaseInfo NumRedRingsIOS int64 `json:"numRedRingsIOS,string"` // UNCONFIRMED! NumRedRingsANDROID int64 `json:"numRedRingsANDROID,string"` NumBuyRedRingsIOS int64 `json:"numBuyRedRingsIOS,string"` // UNCONFIRMED! NumBuyRedRingsANDROID int64 `json:"numBuyRedRingsANDROID,string"` Username string `json:"userName"` CloseMessageJP string `json:"closeMessageJP"` CloseMessageEN string `json:"closeMessageEN"` CloseURL string `json:"closeUrl"` }
func NewNextVersionResponse ¶
func NewNextVersionResponse(base responseobjs.BaseInfo, numRedRings, numBuyRedRings int64, username, japaneseMessage, englishMessage, url string) NextVersionResponse
type NoRivalDailyBattleDataResponse ¶
type NoRivalDailyBattleDataResponse struct { BaseResponse StartTime int64 `json:"startTime"` EndTime int64 `json:"endTime"` BattleData obj.BattleData `json:"battleData"` }
func DefaultDailyBattleData ¶
func DefaultDailyBattleData(base responseobjs.BaseInfo, player netobj.Player) NoRivalDailyBattleDataResponse
func NoRivalDailyBattleData ¶
func NoRivalDailyBattleData(base responseobjs.BaseInfo, startTime, endTime int64, battleData obj.BattleData) NoRivalDailyBattleDataResponse
type NoScoreDailyBattleDataResponse ¶
type NoScoreDailyBattleDataResponse struct { BaseResponse StartTime int64 `json:"startTime"` EndTime int64 `json:"endTime"` }
func NoScoreDailyBattleData ¶
func NoScoreDailyBattleData(base responseobjs.BaseInfo, startTime, endTime int64) NoScoreDailyBattleDataResponse
type OptionUserResultResponse ¶
type OptionUserResultResponse struct { BaseResponse OptionUserResult netobj.OptionUserResult `json:"optionUserResult"` }
func OptionUserResult ¶
func OptionUserResult(base responseobjs.BaseInfo, optionUserResult netobj.OptionUserResult) OptionUserResultResponse
type PlayerStateResponse ¶
type PlayerStateResponse struct { BaseResponse PlayerState netobj.PlayerState `json:"playerState"` }
func PlayerState ¶
func PlayerState(base responseobjs.BaseInfo, playerState netobj.PlayerState) PlayerStateResponse
type PostDailyBattleResultResponse ¶
type PostDailyBattleResultResponse struct { BaseResponse obj.BattlePair BattleStatus obj.BattleStatus `json:"battleStatus"` RewardFlag bool `json:"rewardFlag"` // TODO: allow not false after testing }
func PostDailyBattleResult ¶
func PostDailyBattleResult(base responseobjs.BaseInfo, startTime, endTime int64, battleData, rivalBattleData obj.BattleData, battleStatus obj.BattleStatus) PostDailyBattleResultResponse
type PostDailyBattleResultResponseNoData ¶
type PostDailyBattleResultResponseNoData struct { BaseResponse StartTime int64 `json:"startTime"` EndTime int64 `json:"endTime"` BattleStatus obj.BattleStatus `json:"battleStatus"` RewardFlag bool `json:"rewardFlag"` // TODO: allow not false after testing }
func PostDailyBattleResultNoData ¶
func PostDailyBattleResultNoData(base responseobjs.BaseInfo, startTime, endTime int64, battleStatus obj.BattleStatus) PostDailyBattleResultResponseNoData
type PostDailyBattleResultResponseNoRival ¶
type PostDailyBattleResultResponseNoRival struct { BaseResponse StartTime int64 `json:"startTime"` EndTime int64 `json:"endTime"` BattleData obj.BattleData `json:"battleData"` BattleStatus obj.BattleStatus `json:"battleStatus"` RewardFlag bool `json:"rewardFlag"` // TODO: allow not false after testing }
func PostDailyBattleResultNoRival ¶
func PostDailyBattleResultNoRival(base responseobjs.BaseInfo, startTime, endTime int64, battleData obj.BattleData, battleStatus obj.BattleStatus) PostDailyBattleResultResponseNoRival
type PostDailyBattleResultResponseWithReward ¶
type PostDailyBattleResultResponseWithReward struct { BaseResponse StartTime int64 `json:"startTime"` EndTime int64 `json:"endTime"` BattleStatus obj.BattleStatus `json:"battleStatus"` RewardFlag bool `json:"rewardFlag"` // TODO: allow not false after testing obj.RewardBattlePair }
func PostDailyBattleResultWithReward ¶
func PostDailyBattleResultWithReward(base responseobjs.BaseInfo, startTime, endTime int64, battleStatus obj.BattleStatus, rewardStartTime, rewardEndTime int64, rewardBattleData, rewardRivalBattleData obj.BattleData) PostDailyBattleResultResponseWithReward
type PostGameResultsEventResponse ¶
type PostGameResultsEventResponse struct { PostGameResultsResponse EventState netobj.EventState `json:"eventState"` EventIncentiveList []obj.Item `json:"eventIncentiveList"` }
func DefaultPostGameResultsEvent ¶
func DefaultPostGameResultsEvent(base responseobjs.BaseInfo, player netobj.Player, pcs []netobj.Character, incentives []obj.MileageIncentive, eventIncentives []obj.Item, eventState netobj.EventState) PostGameResultsEventResponse
func PostGameResultsEvent ¶
func PostGameResultsEvent(base responseobjs.BaseInfo, player netobj.Player, dci []obj.Incentive, ml []obj.Message, oml []obj.OperatorMessage, pcs []netobj.Character, mms netobj.MileageMapState, mil []obj.MileageIncentive, wo netobj.WheelOptions, eil []obj.Item, es netobj.EventState) PostGameResultsEventResponse
type PostGameResultsResponse ¶
type PostGameResultsResponse struct { QuickPostGameResultsResponse MileageMapState netobj.MileageMapState `json:"mileageMapState"` MileageIncentiveList []obj.MileageIncentive `json:"mileageIncentiveList"` WheelOptions netobj.WheelOptions `json:"wheelOptions"` }
func DefaultPostGameResults ¶
func DefaultPostGameResults(base responseobjs.BaseInfo, player netobj.Player, pcs []netobj.Character, incentives []obj.MileageIncentive) PostGameResultsResponse
func PostGameResults ¶
func PostGameResults(base responseobjs.BaseInfo, player netobj.Player, dci []obj.Incentive, ml []obj.Message, oml []obj.OperatorMessage, pcs []netobj.Character, mms netobj.MileageMapState, mil []obj.MileageIncentive, wo netobj.WheelOptions) PostGameResultsResponse
type PrizeChaoWheelResponse ¶
type PrizeChaoWheelResponse struct { BaseResponse PrizeList []obj.ChaoPrize `json:"prizeList"` }
func DefaultPrizeChaoWheel ¶
func DefaultPrizeChaoWheel(base responseobjs.BaseInfo) PrizeChaoWheelResponse
func PrizeChaoWheel ¶
func PrizeChaoWheel(base responseobjs.BaseInfo, prizeList []obj.ChaoPrize) PrizeChaoWheelResponse
type QuickActStartResponse ¶
type QuickActStartResponse struct {
ActStartBaseResponse
}
func DefaultQuickActStart ¶
func DefaultQuickActStart(base responseobjs.BaseInfo, player netobj.Player, campaignList []obj.Campaign) QuickActStartResponse
func QuickActStart ¶
func QuickActStart(base responseobjs.BaseInfo, playerState netobj.PlayerState, campaignList []obj.Campaign) QuickActStartResponse
type QuickPostGameResultsResponse ¶
type QuickPostGameResultsResponse struct { BaseResponse PlayerState netobj.PlayerState `json:"playerState"` ChaoState []netobj.Chao `json:"chaoState"` DailyChallengeIncentive []obj.Incentive `json:"dailyChallengeIncentive"` // should be obj.Item, but game doesn't care MessageList []obj.Message `json:"messageList"` OperatorMessageList []obj.OperatorMessage `json:"operatorMessageList"` TotalMessage int64 `json:"totalMessage"` TotalOperatorMessage int64 `json:"totalOperatorMessage"` PlayCharacterState []netobj.Character `json:"playCharacterState"` // Character can substitute PlayCharacter }
func DefaultQuickPostGameResults ¶
func DefaultQuickPostGameResults(base responseobjs.BaseInfo, player netobj.Player, pcs []netobj.Character) QuickPostGameResultsResponse
func QuickPostGameResults ¶
func QuickPostGameResults(base responseobjs.BaseInfo, player netobj.Player, dci []obj.Incentive, ml []obj.Message, oml []obj.OperatorMessage, pcs []netobj.Character) QuickPostGameResultsResponse
type RedStarExchangeListResponse ¶
type RedStarExchangeListResponse struct { BaseResponse ItemList []obj.RedStarItem `json:"itemList"` TotalItems int64 `json:"totalItems"` MonthPurchase int64 `json:"monthPurchase"` Birthday string `json:"birthday"` }
func DefaultRedStarExchangeList ¶
func DefaultRedStarExchangeList(base responseobjs.BaseInfo) RedStarExchangeListResponse
func RedStarExchangeList ¶
func RedStarExchangeList(base responseobjs.BaseInfo, itemList []obj.RedStarItem, monthPurchase int64, birthday string) RedStarExchangeListResponse
type RedStarExchangeResponse ¶
type RedStarExchangeResponse struct { BaseResponse PlayerState netobj.PlayerState `json:"playerState"` }
func DefaultRedStarExchange ¶
func DefaultRedStarExchange(base responseobjs.BaseInfo, player netobj.Player) RedStarExchangeResponse
func RedStarExchange ¶
func RedStarExchange(base responseobjs.BaseInfo, playerState netobj.PlayerState) RedStarExchangeResponse
type ResetDailyBattleMatchingNoOpponentResponse ¶
type ResetDailyBattleMatchingNoOpponentResponse struct { BaseResponse StartTime int64 `json:"startTime"` EndTime int64 `json:"endTime"` BattleData obj.BattleData `json:"battleData"` PlayerState netobj.PlayerState `json:"playerState"` }
func ResetDailyBattleMatchingNoOpponent ¶
func ResetDailyBattleMatchingNoOpponent(base responseobjs.BaseInfo, startTime, endTime int64, battleData obj.BattleData, player netobj.Player) ResetDailyBattleMatchingNoOpponentResponse
type ResetDailyBattleMatchingResponse ¶
type ResetDailyBattleMatchingResponse struct { BaseResponse obj.BattlePair PlayerState netobj.PlayerState `json:"playerState"` }
func ResetDailyBattleMatching ¶
func ResetDailyBattleMatching(base responseobjs.BaseInfo, startTime, endTime int64, battleData, rivalBattleData obj.BattleData, player netobj.Player) ResetDailyBattleMatchingResponse
type TickerResponse ¶
type TickerResponse struct { BaseResponse TickerList []obj.Ticker `json:"tickerList"` }
func DefaultTicker ¶
func DefaultTicker(base responseobjs.BaseInfo, player netobj.Player) TickerResponse
func Ticker ¶
func Ticker(base responseobjs.BaseInfo, tickerList []obj.Ticker) TickerResponse
type UpdateDailyBattleStatusResponse ¶
type UpdateDailyBattleStatusResponse struct { BaseResponse EndTime int64 `json:"endTime"` BattleStatus obj.BattleStatus `json:"battleStatus"` RewardFlag bool `json:"rewardFlag"` // TODO: allow not false after testing }
func UpdateDailyBattleStatus ¶
func UpdateDailyBattleStatus(base responseobjs.BaseInfo, endTime int64, battleStatus obj.BattleStatus) UpdateDailyBattleStatusResponse
type UpdateDailyBattleStatusResponseWithReward ¶
type UpdateDailyBattleStatusResponseWithReward struct { BaseResponse EndTime int64 `json:"endTime"` BattleStatus obj.BattleStatus `json:"battleStatus"` RewardFlag bool `json:"rewardFlag"` // TODO: allow not false after testing obj.RewardBattlePair }
func UpdateDailyBattleStatusWithReward ¶
func UpdateDailyBattleStatusWithReward(base responseobjs.BaseInfo, endTime int64, battleStatus obj.BattleStatus, rewardStartTime, rewardEndTime int64, rewardBattleData, rewardRivalBattleData obj.BattleData) UpdateDailyBattleStatusResponseWithReward
type UpgradeCharacterResponse ¶
type UpgradeCharacterResponse struct { BaseResponse PlayerState netobj.PlayerState `json:"playerState"` CharacterState []netobj.Character `json:"characterState"` }
func DefaultUpgradeCharacter ¶
func DefaultUpgradeCharacter(base responseobjs.BaseInfo, player netobj.Player) UpgradeCharacterResponse
func UpgradeCharacter ¶
func UpgradeCharacter(base responseobjs.BaseInfo, playerState netobj.PlayerState, characterState []netobj.Character) UpgradeCharacterResponse
type VariousParameterResponse ¶
type VariousParameterResponse struct { BaseResponse netobj.PlayerVarious }
func VariousParameter ¶
func VariousParameter(base responseobjs.BaseInfo, player netobj.Player) VariousParameterResponse
type WeeklyLeaderboardEntriesResponse ¶
type WeeklyLeaderboardEntriesResponse struct { BaseResponse PlayerEntry obj.LeaderboardEntry `json:"playerEntry"` LastOffset int64 `json:"lastOffset"` StartTime int64 `json:"startTime"` ResetTime int64 `json:"resetTime"` StartIndex int64 `json:"startIndex"` Mode int64 `json:"mode"` TotalEntries int64 `json:"totalEntries"` EntriesList []obj.LeaderboardEntry `json:"entriesList"` }
func DefaultWeeklyLeaderboardEntries ¶
func DefaultWeeklyLeaderboardEntries(base responseobjs.BaseInfo, player netobj.Player, mode, lbtype int64) WeeklyLeaderboardEntriesResponse
func WeeklyLeaderboardEntries ¶
func WeeklyLeaderboardEntries(base responseobjs.BaseInfo, pe obj.LeaderboardEntry, lo, st, rt, si, m, te int64, el []obj.LeaderboardEntry) WeeklyLeaderboardEntriesResponse
type WeeklyLeaderboardOptionsResponse ¶
type WeeklyLeaderboardOptionsResponse struct { BaseResponse Mode int64 `json:"mode"` // 0 == ENDLESS, 1 == QUICK Type int64 `json:"type"` // 0 == RankingScoreType.HIGH_SCORE, else == RankingScoreType.TOTAL_SCORE Param int64 `json:"param"` // seemingly unused StartTime int64 `json:"startTime"` // both times are also seemingly unused... ResetTime int64 `json:"resetTime"` }
func DefaultWeeklyLeaderboardOptions ¶
func DefaultWeeklyLeaderboardOptions(base responseobjs.BaseInfo, mode int64) WeeklyLeaderboardOptionsResponse
func WeeklyLeaderboardOptions ¶
func WeeklyLeaderboardOptions(base responseobjs.BaseInfo, mode, ltype, param, startTime, resetTime int64) WeeklyLeaderboardOptionsResponse
type WheelOptionsResponse ¶
type WheelOptionsResponse struct { BaseResponse WheelOptions netobj.WheelOptions `json:"wheelOptions"` }
func WheelOptions ¶
func WheelOptions(base responseobjs.BaseInfo, wheelOptions netobj.WheelOptions) WheelOptionsResponse
type WheelSpinResponse ¶
type WheelSpinResponse struct { BaseResponse PlayerState netobj.PlayerState `json:"playerState"` CharacterState []netobj.Character `json:"characterState"` ChaoState []netobj.Chao `json:"chaoState"` WheelOptions netobj.WheelOptions `json:"wheelOptions"` }
func WheelSpin ¶
func WheelSpin(base responseobjs.BaseInfo, playerState netobj.PlayerState, characterState []netobj.Character, chaoState []netobj.Chao, wheelOptions netobj.WheelOptions) WheelSpinResponse
Source Files ¶
Click to show internal directories.
Click to hide internal directories.