mx

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Protocol_Common_Cheat                              = -9999
	Protocol_Error                                     = -1
	Protocol_None                                      = 0
	Protocol_System_Version                            = 1
	Protocol_Session_Info                              = 2
	Protocol_NetworkTime_Sync                          = 3
	Protocol_NetworkTime_SyncReply                     = 4
	Protocol_Audit_GachaStatistics                     = 5
	Protocol_Account_Create                            = 1000
	Protocol_Account_Nickname                          = 1001
	Protocol_Account_Auth                              = 1002
	Protocol_Account_CurrencySync                      = 1003
	Protocol_Account_SetRepresentCharacterAndComment   = 1004
	Protocol_Account_GetTutorial                       = 1005
	Protocol_Account_SetTutorial                       = 1006
	Protocol_Account_PassCheck                         = 1007
	Protocol_Account_VerifyForYostar                   = 1008
	Protocol_Account_CheckYostar                       = 1009
	Protocol_Account_CallName                          = 1010
	Protocol_Account_BirthDay                          = 1011
	Protocol_Account_Auth2                             = 1012
	Protocol_Account_LinkReward                        = 1013
	Protocol_Account_ReportXignCodeCheater             = 1014
	Protocol_Account_DismissRepurchasablePopup         = 1015
	Protocol_Account_InvalidateToken                   = 1016
	Protocol_Account_LoginSync                         = 1017
	Protocol_Account_Reset                             = 1018
	Protocol_Account_RequestBirthdayMail               = 1019
	Protocol_Character_List                            = 2000
	Protocol_Character_Transcendence                   = 2001
	Protocol_Character_ExpGrowth                       = 2002
	Protocol_Character_FavorGrowth                     = 2003
	Protocol_Character_UpdateSkillLevel                = 2004
	Protocol_Character_UnlockWeapon                    = 2005
	Protocol_Character_WeaponExpGrowth                 = 2006
	Protocol_Character_WeaponTranscendence             = 2007
	Protocol_Character_SetFavorites                    = 2008
	Protocol_Character_SetCostume                      = 2009
	Protocol_Character_BatchSkillLevelUpdate           = 2010
	Protocol_Character_PotentialGrowth                 = 2011
	Protocol_Equipment_List                            = 3000
	Protocol_Equipment_Sell                            = 3001
	Protocol_Equipment_Equip                           = 3002
	Protocol_Equipment_LevelUp                         = 3003
	Protocol_Equipment_TierUp                          = 3004
	Protocol_Equipment_Lock                            = 3005
	Protocol_Equipment_BatchGrowth                     = 3006
	Protocol_Item_List                                 = 4000
	Protocol_Item_Sell                                 = 4001
	Protocol_Item_Consume                              = 4002
	Protocol_Item_Lock                                 = 4003
	Protocol_Item_BulkConsume                          = 4004
	Protocol_Item_SelectTicket                         = 4005
	Protocol_Item_AutoSynth                            = 4006
	Protocol_Echelon_List                              = 5000
	Protocol_Echelon_Save                              = 5001
	Protocol_Echelon_PresetList                        = 5002
	Protocol_Echelon_PresetSave                        = 5003
	Protocol_Echelon_PresetGroupRename                 = 5004
	Protocol_Campaign_List                             = 6000
	Protocol_Campaign_EnterMainStage                   = 6001
	Protocol_Campaign_ConfirmMainStage                 = 6002
	Protocol_Campaign_DeployEchelon                    = 6003
	Protocol_Campaign_WithdrawEchelon                  = 6004
	Protocol_Campaign_MapMove                          = 6005
	Protocol_Campaign_EndTurn                          = 6006
	Protocol_Campaign_EnterTactic                      = 6007
	Protocol_Campaign_TacticResult                     = 6008
	Protocol_Campaign_Retreat                          = 6009
	Protocol_Campaign_ChapterClearReward               = 6010
	Protocol_Campaign_Heal                             = 6011
	Protocol_Campaign_EnterSubStage                    = 6012
	Protocol_Campaign_SubStageResult                   = 6013
	Protocol_Campaign_Portal                           = 6014
	Protocol_Campaign_ConfirmTutorialStage             = 6015
	Protocol_Campaign_PurchasePlayCountHardStage       = 6016
	Protocol_Campaign_EnterTutorialStage               = 6017
	Protocol_Campaign_TutorialStageResult              = 6018
	Protocol_Campaign_RestartMainStage                 = 6019
	Protocol_Campaign_EnterMainStageStrategySkip       = 6020
	Protocol_Campaign_MainStageStrategySkipResult      = 6021
	Protocol_Mail_List                                 = 7000
	Protocol_Mail_Check                                = 7001
	Protocol_Mail_Receive                              = 7002
	Protocol_Mission_List                              = 8000
	Protocol_Mission_Reward                            = 8001
	Protocol_Mission_MultipleReward                    = 8002
	Protocol_Mission_GuideReward                       = 8003
	Protocol_Mission_MultipleGuideReward               = 8004
	Protocol_Mission_Sync                              = 8005
	Protocol_Mission_GuideMissionSeasonList            = 8006
	Protocol_Attendance_List                           = 9000
	Protocol_Attendance_Check                          = 9001
	Protocol_Attendance_Reward                         = 9002
	Protocol_Shop_BuyMerchandise                       = 10000
	Protocol_Shop_BuyGacha                             = 10001
	Protocol_Shop_List                                 = 10002
	Protocol_Shop_Refresh                              = 10003
	Protocol_Shop_BuyEligma                            = 10004
	Protocol_Shop_BuyGacha2                            = 10005
	Protocol_Shop_GachaRecruitList                     = 10006
	Protocol_Shop_BuyRefreshMerchandise                = 10007
	Protocol_Shop_BuyGacha3                            = 10008
	Protocol_Shop_BuyAP                                = 10009
	Protocol_Shop_BeforehandGachaGet                   = 10010
	Protocol_Shop_BeforehandGachaRun                   = 10011
	Protocol_Shop_BeforehandGachaSave                  = 10012
	Protocol_Shop_BeforehandGachaPick                  = 10013
	Protocol_Recipe_Craft                              = 11000
	Protocol_MemoryLobby_List                          = 12000
	Protocol_MemoryLobby_SetMain                       = 12001
	Protocol_MemoryLobby_UpdateLobbyMode               = 12002
	Protocol_MemoryLobby_Interact                      = 12003
	Protocol_CumulativeTimeReward_List                 = 13000
	Protocol_CumulativeTimeReward_Reward               = 13001
	Protocol_OpenCondition_List                        = 15000
	Protocol_OpenCondition_Set                         = 15001
	Protocol_OpenCondition_EventList                   = 15002
	Protocol_Toast_List                                = 16000
	Protocol_Raid_List                                 = 17000
	Protocol_Raid_CompleteList                         = 17001
	Protocol_Raid_Detail                               = 17002
	Protocol_Raid_Search                               = 17003
	Protocol_Raid_CreateBattle                         = 17004
	Protocol_Raid_EnterBattle                          = 17005
	Protocol_Raid_BattleUpdate                         = 17006
	Protocol_Raid_EndBattle                            = 17007
	Protocol_Raid_Reward                               = 17008
	Protocol_Raid_RewardAll                            = 17009
	Protocol_Raid_Revive                               = 17010
	Protocol_Raid_Share                                = 17011
	Protocol_Raid_SeasonInfo                           = 17012
	Protocol_Raid_SeasonReward                         = 17013
	Protocol_Raid_Lobby                                = 17014
	Protocol_Raid_GiveUp                               = 17015
	Protocol_Raid_OpponentList                         = 17016
	Protocol_Raid_RankingReward                        = 17017
	Protocol_Raid_Login                                = 17018
	Protocol_Raid_Sweep                                = 17019
	Protocol_Raid_GetBestTeam                          = 17020
	Protocol_SkipHistory_List                          = 18000
	Protocol_SkipHistory_Save                          = 18001
	Protocol_Scenario_List                             = 19000
	Protocol_Scenario_Clear                            = 19001
	Protocol_Scenario_GroupHistoryUpdate               = 19002
	Protocol_Scenario_Skip                             = 19003
	Protocol_Scenario_Select                           = 19004
	Protocol_Scenario_AccountStudentChange             = 19005
	Protocol_Scenario_LobbyStudentChange               = 19006
	Protocol_Scenario_SpecialLobbyChange               = 19007
	Protocol_Scenario_Enter                            = 19008
	Protocol_Scenario_EnterMainStage                   = 19009
	Protocol_Scenario_ConfirmMainStage                 = 19010
	Protocol_Scenario_DeployEchelon                    = 19011
	Protocol_Scenario_WithdrawEchelon                  = 19012
	Protocol_Scenario_MapMove                          = 19013
	Protocol_Scenario_EndTurn                          = 19014
	Protocol_Scenario_EnterTactic                      = 19015
	Protocol_Scenario_TacticResult                     = 19016
	Protocol_Scenario_Retreat                          = 19017
	Protocol_Scenario_Portal                           = 19018
	Protocol_Scenario_RestartMainStage                 = 19019
	Protocol_Scenario_SkipMainStage                    = 19020
	Protocol_Cafe_Get                                  = 20000
	Protocol_Cafe_Ack                                  = 20001
	Protocol_Cafe_Deploy                               = 20002
	Protocol_Cafe_Relocate                             = 20003
	Protocol_Cafe_Remove                               = 20004
	Protocol_Cafe_RemoveAll                            = 20005
	Protocol_Cafe_Interact                             = 20006
	Protocol_Cafe_ListPreset                           = 20007
	Protocol_Cafe_RenamePreset                         = 20008
	Protocol_Cafe_ClearPreset                          = 20009
	Protocol_Cafe_UpdatePresetFurniture                = 20010
	Protocol_Cafe_ApplyPreset                          = 20011
	Protocol_Cafe_RankUp                               = 20012
	Protocol_Cafe_ReceiveCurrency                      = 20013
	Protocol_Cafe_GiveGift                             = 20014
	Protocol_Cafe_SummonCharacter                      = 20015
	Protocol_Cafe_TrophyHistory                        = 20016
	Protocol_Cafe_ApplyTemplate                        = 20017
	Protocol_Cafe_Open                                 = 20018
	Protocol_Cafe_Travel                               = 20019
	Protocol_Craft_List                                = 21000
	Protocol_Craft_SelectNode                          = 21001
	Protocol_Craft_UpdateNodeLevel                     = 21002
	Protocol_Craft_BeginProcess                        = 21003
	Protocol_Craft_CompleteProcess                     = 21004
	Protocol_Craft_Reward                              = 21005
	Protocol_Craft_HistoryList                         = 21006
	Protocol_Craft_ShiftingBeginProcess                = 21007
	Protocol_Craft_ShiftingCompleteProcess             = 21008
	Protocol_Craft_ShiftingReward                      = 21009
	Protocol_Craft_AutoBeginProcess                    = 21010
	Protocol_Craft_CompleteProcessAll                  = 21011
	Protocol_Craft_RewardAll                           = 21012
	Protocol_Craft_ShiftingCompleteProcessAll          = 21013
	Protocol_Craft_ShiftingRewardAll                   = 21014
	Protocol_Arena_EnterLobby                          = 22000
	Protocol_Arena_Login                               = 22001
	Protocol_Arena_SettingChange                       = 22002
	Protocol_Arena_OpponentList                        = 22003
	Protocol_Arena_EnterBattle                         = 22004
	Protocol_Arena_EnterBattlePart1                    = 22005
	Protocol_Arena_EnterBattlePart2                    = 22006
	Protocol_Arena_BattleResult                        = 22007
	Protocol_Arena_CumulativeTimeReward                = 22008
	Protocol_Arena_DailyReward                         = 22009
	Protocol_Arena_RankList                            = 22010
	Protocol_Arena_History                             = 22011
	Protocol_Arena_RecordSync                          = 22012
	Protocol_Arena_TicketPurchase                      = 22013
	Protocol_Arena_DamageReport                        = 22014
	Protocol_Arena_CheckSeasonCloseReward              = 22015
	Protocol_Arena_SyncEchelonSettingTime              = 22016
	Protocol_WeekDungeon_List                          = 23000
	Protocol_WeekDungeon_EnterBattle                   = 23001
	Protocol_WeekDungeon_BattleResult                  = 23002
	Protocol_WeekDungeon_Retreat                       = 23003
	Protocol_Academy_GetInfo                           = 24000
	Protocol_Academy_AttendSchedule                    = 24001
	Protocol_Academy_AttendFavorSchedule               = 24002
	Protocol_Event_GetList                             = 25000
	Protocol_Event_GetImage                            = 25001
	Protocol_Event_UseCoupon                           = 25002
	Protocol_Event_RewardIncrease                      = 25003
	Protocol_ContentSave_Get                           = 26000
	Protocol_ContentSave_Discard                       = 26001
	Protocol_ContentSweep_Request                      = 27000
	Protocol_ContentSweep_MultiSweep                   = 27001
	Protocol_ContentSweep_MultiSweepPresetList         = 27002
	Protocol_ContentSweep_SetMultiSweepPreset          = 27003
	Protocol_ContentSweep_SetMultiSweepPresetName      = 27004
	Protocol_Clan_Lobby                                = 28000
	Protocol_Clan_Login                                = 28001
	Protocol_Clan_Search                               = 28002
	Protocol_Clan_Create                               = 28003
	Protocol_Clan_Member                               = 28004
	Protocol_Clan_Applicant                            = 28005
	Protocol_Clan_Join                                 = 28006
	Protocol_Clan_Quit                                 = 28007
	Protocol_Clan_Permit                               = 28008
	Protocol_Clan_Kick                                 = 28009
	Protocol_Clan_Setting                              = 28010
	Protocol_Clan_Confer                               = 28011
	Protocol_Clan_Dismiss                              = 28012
	Protocol_Clan_AutoJoin                             = 28013
	Protocol_Clan_MemberList                           = 28014
	Protocol_Clan_CancelApply                          = 28015
	Protocol_Clan_MyAssistList                         = 28016
	Protocol_Clan_SetAssist                            = 28017
	Protocol_Clan_ChatLog                              = 28018
	Protocol_Clan_Check                                = 28019
	Protocol_Clan_AllAssistList                        = 28020
	Protocol_Billing_TransactionStartByYostar          = 29000
	Protocol_Billing_TransactionEndByYostar            = 29001
	Protocol_Billing_PurchaseListByYostar              = 29002
	Protocol_EventContent_AdventureList                = 30000
	Protocol_EventContent_EnterMainStage               = 30001
	Protocol_EventContent_ConfirmMainStage             = 30002
	Protocol_EventContent_EnterTactic                  = 30003
	Protocol_EventContent_TacticResult                 = 30004
	Protocol_EventContent_EnterSubStage                = 30005
	Protocol_EventContent_SubStageResult               = 30006
	Protocol_EventContent_DeployEchelon                = 30007
	Protocol_EventContent_WithdrawEchelon              = 30008
	Protocol_EventContent_MapMove                      = 30009
	Protocol_EventContent_EndTurn                      = 30010
	Protocol_EventContent_Retreat                      = 30011
	Protocol_EventContent_Portal                       = 30012
	Protocol_EventContent_PurchasePlayCountHardStage   = 30013
	Protocol_EventContent_ShopList                     = 30014
	Protocol_EventContent_ShopRefresh                  = 30015
	Protocol_EventContent_ReceiveStageTotalReward      = 30016
	Protocol_EventContent_EnterMainGroundStage         = 30017
	Protocol_EventContent_MainGroundStageResult        = 30018
	Protocol_EventContent_ShopBuyMerchandise           = 30019
	Protocol_EventContent_ShopBuyRefreshMerchandise    = 30020
	Protocol_EventContent_SelectBuff                   = 30021
	Protocol_EventContent_BoxGachaShopList             = 30022
	Protocol_EventContent_BoxGachaShopPurchase         = 30023
	Protocol_EventContent_BoxGachaShopRefresh          = 30024
	Protocol_EventContent_CollectionList               = 30025
	Protocol_EventContent_CollectionForMission         = 30026
	Protocol_EventContent_ScenarioGroupHistoryUpdate   = 30027
	Protocol_EventContent_CardShopList                 = 30028
	Protocol_EventContent_CardShopShuffle              = 30029
	Protocol_EventContent_CardShopPurchase             = 30030
	Protocol_EventContent_RestartMainStage             = 30031
	Protocol_EventContent_LocationGetInfo              = 30032
	Protocol_EventContent_LocationAttendSchedule       = 30033
	Protocol_EventContent_FortuneGachaPurchase         = 30034
	Protocol_EventContent_SubEventLobby                = 30035
	Protocol_EventContent_EnterStoryStage              = 30036
	Protocol_EventContent_StoryStageResult             = 30037
	Protocol_EventContent_DiceRaceLobby                = 30038
	Protocol_EventContent_DiceRaceRoll                 = 30039
	Protocol_EventContent_DiceRaceLapReward            = 30040
	Protocol_EventContent_PermanentList                = 30041
	Protocol_EventContent_DiceRaceUseItem              = 30042
	Protocol_EventContent_CardShopPurchaseAll          = 30043
	Protocol_EventContent_TreasureLobby                = 30044
	Protocol_EventContent_TreasureFlip                 = 30045
	Protocol_EventContent_TreasureNextRound            = 30046
	Protocol_TTS_GetFile                               = 31000
	Protocol_ContentLog_UIOpenStatistics               = 32000
	Protocol_MomoTalk_OutLine                          = 33000
	Protocol_MomoTalk_MessageList                      = 33001
	Protocol_MomoTalk_Read                             = 33002
	Protocol_MomoTalk_Reply                            = 33003
	Protocol_MomoTalk_FavorSchedule                    = 33004
	Protocol_ClearDeck_List                            = 34000
	Protocol_MiniGame_StageList                        = 35000
	Protocol_MiniGame_EnterStage                       = 35001
	Protocol_MiniGame_Result                           = 35002
	Protocol_MiniGame_MissionList                      = 35003
	Protocol_MiniGame_MissionReward                    = 35004
	Protocol_MiniGame_MissionMultipleReward            = 35005
	Protocol_MiniGame_ShootingLobby                    = 35006
	Protocol_MiniGame_ShootingBattleEnter              = 35007
	Protocol_MiniGame_ShootingBattleResult             = 35008
	Protocol_MiniGame_ShootingSweep                    = 35009
	Protocol_MiniGame_TableBoardSync                   = 35010
	Protocol_MiniGame_TableBoardMove                   = 35011
	Protocol_MiniGame_TableBoardEncounterInput         = 35012
	Protocol_MiniGame_TableBoardBattleEncounter        = 35013
	Protocol_MiniGame_TableBoardBattleRunAway          = 35014
	Protocol_MiniGame_TableBoardClearThema             = 35015
	Protocol_MiniGame_TableBoardUseItem                = 35016
	Protocol_MiniGame_TableBoardResurrect              = 35017
	Protocol_MiniGame_TableBoardSweep                  = 35018
	Protocol_MiniGame_TableBoardMoveThema              = 35019
	Protocol_MiniGame_DreamMakerGetInfo                = 35020
	Protocol_MiniGame_DreamMakerNewGame                = 35021
	Protocol_MiniGame_DreamMakerRestart                = 35022
	Protocol_MiniGame_DreamMakerAttendSchedule         = 35023
	Protocol_MiniGame_DreamMakerDailyClosing           = 35024
	Protocol_MiniGame_DreamMakerEnding                 = 35025
	Protocol_MiniGame_DefenseGetInfo                   = 35026
	Protocol_MiniGame_DefenseEnterBattle               = 35027
	Protocol_MiniGame_DefenseBattleResult              = 35028
	Protocol_Notification_LobbyCheck                   = 36000
	Protocol_Notification_EventContentReddotCheck      = 36001
	Protocol_ProofToken_RequestQuestion                = 37000
	Protocol_ProofToken_Submit                         = 37001
	Protocol_SchoolDungeon_List                        = 38000
	Protocol_SchoolDungeon_EnterBattle                 = 38001
	Protocol_SchoolDungeon_BattleResult                = 38002
	Protocol_SchoolDungeon_Retreat                     = 38003
	Protocol_TimeAttackDungeon_Lobby                   = 39000
	Protocol_TimeAttackDungeon_CreateBattle            = 39001
	Protocol_TimeAttackDungeon_EnterBattle             = 39002
	Protocol_TimeAttackDungeon_EndBattle               = 39003
	Protocol_TimeAttackDungeon_Sweep                   = 39004
	Protocol_TimeAttackDungeon_GiveUp                  = 39005
	Protocol_TimeAttackDungeon_Login                   = 39006
	Protocol_WorldRaid_Lobby                           = 40000
	Protocol_WorldRaid_BossList                        = 40001
	Protocol_WorldRaid_EnterBattle                     = 40002
	Protocol_WorldRaid_BattleResult                    = 40003
	Protocol_WorldRaid_ReceiveReward                   = 40004
	Protocol_ResetableContent_Get                      = 41000
	Protocol_Conquest_GetInfo                          = 42000
	Protocol_Conquest_Conquer                          = 42001
	Protocol_Conquest_ConquerWithBattleStart           = 42002
	Protocol_Conquest_ConquerWithBattleResult          = 42003
	Protocol_Conquest_DeployEchelon                    = 42004
	Protocol_Conquest_ManageBase                       = 42005
	Protocol_Conquest_UpgradeBase                      = 42006
	Protocol_Conquest_TakeEventObject                  = 42007
	Protocol_Conquest_EventObjectBattleStart           = 42008
	Protocol_Conquest_EventObjectBattleResult          = 42009
	Protocol_Conquest_ReceiveCalculateRewards          = 42010
	Protocol_Conquest_NormalizeEchelon                 = 42011
	Protocol_Conquest_Check                            = 42012
	Protocol_Conquest_ErosionBattleStart               = 42013
	Protocol_Conquest_ErosionBattleResult              = 42014
	Protocol_Conquest_MainStoryGetInfo                 = 42015
	Protocol_Conquest_MainStoryConquer                 = 42016
	Protocol_Conquest_MainStoryConquerWithBattleStart  = 42017
	Protocol_Conquest_MainStoryConquerWithBattleResult = 42018
	Protocol_Conquest_MainStoryCheck                   = 42019
	Protocol_Friend_List                               = 43000
	Protocol_Friend_Remove                             = 43001
	Protocol_Friend_GetFriendDetailedInfo              = 43002
	Protocol_Friend_GetIdCard                          = 43003
	Protocol_Friend_SetIdCard                          = 43004
	Protocol_Friend_Search                             = 43005
	Protocol_Friend_SendFriendRequest                  = 43006
	Protocol_Friend_AcceptFriendRequest                = 43007
	Protocol_Friend_DeclineFriendRequest               = 43008
	Protocol_Friend_CancelFriendRequest                = 43009
	Protocol_Friend_Check                              = 43010
	Protocol_Friend_ListByIds                          = 43011
	Protocol_Friend_Block                              = 43012
	Protocol_Friend_Unblock                            = 43013
	Protocol_CharacterGear_List                        = 44000
	Protocol_CharacterGear_Unlock                      = 44001
	Protocol_CharacterGear_TierUp                      = 44002
	Protocol_EliminateRaid_Login                       = 45000
	Protocol_EliminateRaid_Lobby                       = 45001
	Protocol_EliminateRaid_OpponentList                = 45002
	Protocol_EliminateRaid_GetBestTeam                 = 45003
	Protocol_EliminateRaid_CreateBattle                = 45004
	Protocol_EliminateRaid_EnterBattle                 = 45005
	Protocol_EliminateRaid_EndBattle                   = 45006
	Protocol_EliminateRaid_GiveUp                      = 45007
	Protocol_EliminateRaid_Sweep                       = 45008
	Protocol_EliminateRaid_SeasonReward                = 45009
	Protocol_EliminateRaid_RankingReward               = 45010
	Protocol_EliminateRaid_LimitedReward               = 45011
	Protocol_Attachment_Get                            = 46000
	Protocol_Attachment_EmblemList                     = 46001
	Protocol_Attachment_EmblemAcquire                  = 46002
	Protocol_Attachment_EmblemAttach                   = 46003
	Protocol_Sticker_Login                             = 47000
	Protocol_Sticker_Lobby                             = 47001
	Protocol_Sticker_UseSticker                        = 47002
	Protocol_Field_Sync                                = 48000
	Protocol_Field_Interaction                         = 48001
	Protocol_Field_QuestClear                          = 48002
	Protocol_Field_SceneChanged                        = 48003
	Protocol_Field_EndDate                             = 48004
	Protocol_Field_EnterStage                          = 48005
	Protocol_Field_StageResult                         = 48006
	Protocol_MultiFloorRaid_Sync                       = 49000
	Protocol_MultiFloorRaid_EnterBattle                = 49001
	Protocol_MultiFloorRaid_EndBattle                  = 49002
	Protocol_MultiFloorRaid_ReceiveReward              = 49003
	Protocol_Queuing_GetTicket                         = 50000
)

Variables

View Source
var (
	Protocol_name = map[int32]string{}/* 430 elements not displayed */

	Protocol_value = map[string]int32{}/* 430 elements not displayed */

)

Functions

func DeMx

func DeMx(bin []byte) ([]byte, error)

func EncodeMx

func EncodeMx(originalData []byte) ([]byte, error)

func GetFormMx

func GetFormMx(c *gin.Context) ([]byte, error)

func GetMxToken

func GetMxToken(_ int64, length int) string

GetMxToken returns a random hex string of the given length (max 64). Ignores the seed for now.

func SetFormMx

func SetFormMx(req *resty.Request, bin []byte) error

Types

type Message

type Message = ProtoMessage

type MxTime

type MxTime time.Time

func Now

func Now() MxTime

func TimeData

func TimeData(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) MxTime

func Unix

func Unix(sec int64, nsec int64) MxTime

Unix returns the local Time corresponding to the given Unix time, sec seconds and nsec nanoseconds since January 1, 1970 UTC. It is valid to pass nsec outside the range [0, 999999999]. Not all sec values have a corresponding time value. One such value is 1<<63-1 (the largest int64 value).

func (MxTime) Add

func (t MxTime) Add(d time.Duration) MxTime

Add returns the time t+d.

func (MxTime) After

func (t MxTime) After(u MxTime) bool

func (MxTime) Before

func (t MxTime) Before(u MxTime) bool

func (MxTime) MarshalJSON

func (t MxTime) MarshalJSON() ([]byte, error)

func (*MxTime) UnmarshalJSON

func (t *MxTime) UnmarshalJSON(data []byte) error

type ProtoMessage

type ProtoMessage interface {
	String() string
	SetPacket(packet Message)
}

type Protocol

type Protocol int32

func (Protocol) String

func (x Protocol) String() string

Jump to

Keyboard shortcuts

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