402 lines
12 KiB
C#
402 lines
12 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Campofinale.Protocol
|
|
{
|
|
public enum ScMsgId : int
|
|
{
|
|
ScMessageBegin = 0,
|
|
ScLogin = 1,
|
|
ScSyncBaseData = 2,
|
|
ScNtfErrorCode = 3,
|
|
ScGmCommand = 4,
|
|
ScPing = 5,
|
|
ScReconnectIncr = 6,
|
|
ScReconnectFull = 7,
|
|
ScFlushSync = 8,
|
|
ScNtfCode = 9,
|
|
ScSetName = 10,
|
|
ScSetGender = 11,
|
|
ScCheckName = 12,
|
|
ScCheckSensitive = 13,
|
|
ScSyncFullDataEnd = 14,//
|
|
ScAchieveComplete = 15,
|
|
ScSyncAllRoleScene = 20,//
|
|
ScObjectEnterView = 21,
|
|
ScObjectLeaveView = 22,
|
|
ScMoveObjectMove = 23,
|
|
ScEnterSceneNotify = 24,
|
|
ScSelfSceneInfo = 25,
|
|
ScLeaveSceneNotify = 26,
|
|
ScSceneSetLastRecordCampid = 27,
|
|
ScSceneUpdateInteractiveProperty = 28,
|
|
ScSceneSetVar = 29,
|
|
ScSceneRevival = 30,
|
|
ScSceneCreateEntity = 31,
|
|
ScSceneDestroyEntity = 32,
|
|
ScSceneSetSafeZone = 35,
|
|
ScSceneQueryEntityExist = 36,
|
|
ScSceneLevelScriptStateNotify = 37,
|
|
ScSceneQueryInteractiveProperty = 38,
|
|
ScSceneUnlockArea = 39,
|
|
ScSceneSetTrackPoint = 40,
|
|
ScSceneCollectionSync = 42, //
|
|
ScSceneCollectionModify = 43,
|
|
ScSceneMapMarkSync = 44,//
|
|
ScSceneStaticMapMarkModify = 45,
|
|
ScSceneTeleport = 46,
|
|
ScSceneSubmitItem = 47,
|
|
ScSceneSubmitEther = 48,
|
|
ScSceneUpdateLevelScriptProperty = 49,
|
|
ScSceneResetEntity = 50,
|
|
ScSceneLevelScriptResetBegin = 51,
|
|
ScSceneLevelScriptResetEnd = 52,
|
|
ScSceneSetBattle = 53,
|
|
ScSceneLevelScriptEventTrigger = 55,
|
|
ScSceneInteractiveEventTrigger = 56,
|
|
ScSceneTriggerClientLevelScriptEvent = 57,
|
|
ScSceneTriggerClientInteractiveEvent = 58,
|
|
ScSceneCrossSceneStatus = 59,
|
|
ScSceneDropCreate = 800,
|
|
ScSceneDropDelete = 801,
|
|
ScSceneDropModify = 802,
|
|
ScSceneGradeChangeNotify = 803,
|
|
ScSeamlessSceneDestroyNotify = 804,
|
|
ScSceneMonsterSpawnerStart = 805,
|
|
ScSceneMonsterSpawnerStop = 806,
|
|
ScSceneMonsterSpawnerComplete = 807,
|
|
ScSceneMonsterSpawnerBeginWave = 808,
|
|
ScSceneMonsterSpawnerWaveComplete = 809,
|
|
ScSceneMonsterSpawnerObjectDataBegin = 811,
|
|
ScSceneMonsterSpawnerObjectDataEnd = 812,
|
|
ScSceneLevelScriptTaskStateUpdate = 813,
|
|
ScSceneClientIdInfo = 814,
|
|
ScSceneLevelScriptTaskProgressUpdate = 815,
|
|
ScSceneLevelScriptTaskStartFinish = 816,
|
|
ScSceneInteractSpInteractive = 817,
|
|
ScSceneUpdateInteractiveMeta = 818,
|
|
ScSceneGradeModify = 819,
|
|
ScSceneSetStorySafeZone = 820,
|
|
ScSceneRepatriate = 821,
|
|
ScSceneSubmitRecycle = 822,
|
|
ScSceneLevelScriptSetDone = 823,
|
|
ScSyncCharBagInfo = 60,//
|
|
ScCharBagAddChar = 61,
|
|
ScCharBagSetTeam = 62,
|
|
ScCharBagSetCurrTeamIndex = 63,
|
|
ScCharBagSetTeamName = 64,
|
|
ScCharBagSetTeamLeader = 65,
|
|
ScCharBagSetMaxTeamMemberCount = 66,
|
|
ScCharBagTeamLeaderNotMatchNtf = 67,
|
|
ScCharBagDelChar = 68,
|
|
ScCharBagAddCharWithConversionNotify = 69,
|
|
ScSyncWallet = 70,//
|
|
ScWalletSyncMoney = 71,
|
|
ScCharSkillInfos = 78,
|
|
ScCharPotentialUnlock = 79,
|
|
ScCharLevelUp = 80,
|
|
ScCharSyncLevelExp = 82,
|
|
ScCharSetNormalSkill = 83,
|
|
ScCharSkillLevelUp = 84,
|
|
ScCharUnlockSkill = 85,
|
|
ScCharGainExpToast = 86,
|
|
ScCharSyncStatus = 87,
|
|
ScCharSetTeamSkill = 89,
|
|
ScEquipPuton = 90,
|
|
ScEquipPutoff = 91,
|
|
ScEquipMedicineModify = 92,
|
|
ScEquipRecycle = 93,
|
|
ScEquipEnhance = 94,
|
|
ScEquipProduce = 96,
|
|
ScSyncAllMission = 110,//
|
|
ScQuestStateUpdate = 111,
|
|
ScMissionStateUpdate = 112,
|
|
ScQuestFailed = 113,
|
|
ScMissionFailed = 114,
|
|
ScTrackMissionChange = 115,
|
|
ScQuestObjectivesUpdate = 116,
|
|
ScMissionDeleted = 117,
|
|
ScRollBlocMission = 120,
|
|
ScSyncBlocMissionInfo = 121,//
|
|
ScBlocCompletedMissionNumUpdate = 122,
|
|
ScQuestRollback = 123,
|
|
ScUpdateMissionProperty = 124,
|
|
ScSceneTriggerClientMissionEvent = 125,
|
|
ScMissionEventTrigger = 126,
|
|
ScDailyMissionInfoUpdate = 127,
|
|
ScSyncAllDialog = 130,//
|
|
ScFinishDialog = 131,
|
|
ScSyncAllGuide = 140,//
|
|
ScCompleteGuideGroupKeyStep = 141,
|
|
ScCompleteGuideGroup = 142,
|
|
ScAcceptGuideGroup = 143,
|
|
ScSyncAttr = 150,
|
|
ScSyncAllUnlock = 160,//
|
|
ScUnlockSystem = 161,
|
|
ScSyncAllBitset = 165,//
|
|
ScBitsetAdd = 166,
|
|
ScBitsetRemove = 167,
|
|
ScBitsetRemoveAll = 168,
|
|
ScFactorySync = 200,//
|
|
ScFactoryModifyFormulaMan = 201,
|
|
ScFactoryModifyStt = 202,
|
|
ScFactoryModifyVisibleFormula = 203,
|
|
ScFactoryModifyFormulaMode = 204,
|
|
ScFactorySyncOfflineInfo = 205,//
|
|
ScFactorySyncScope = 210,//
|
|
ScFactoryReleaseScope = 211,
|
|
ScFactoryModifyScope = 212,
|
|
ScFactoryModifyQuickbar = 213,
|
|
ScFactoryManuallyWorkExec = 214,
|
|
ScFactoryProductManualUnlock = 215,
|
|
ScFactoryModifySoil = 216,
|
|
ScFactorySoilReclaim = 217,
|
|
ScFactorySoilWater = 218,
|
|
ScFactorySoilCancel = 219,
|
|
ScFactorySoilHarvest = 220,
|
|
ScFactorySyncChapter = 221,//
|
|
ScFactoryModifyChapterNodes = 222,
|
|
ScFactoryModifyChapterComponents = 223,
|
|
ScFactoryModifyChapterScene = 224,
|
|
ScFactoryModifyChapterBlackboard = 225,
|
|
ScFactoryModifyChapterPinBoard = 226,
|
|
ScFactoryModifyChapterMap = 227,
|
|
ScFactoryHs = 231,
|
|
ScFactoryHsSync = 232,//
|
|
ScFactorySyncStatistic = 241,
|
|
ScFactoryModifyStatistic = 242,
|
|
ScFactoryStatisticRequire = 243,
|
|
ScFactoryHubWorkshopMake = 244,
|
|
ScFactoryHubTransportRouteModify = 245,
|
|
ScFactoryModifyStatisticBookmark = 246,
|
|
ScFactoryOpRet = 251,
|
|
ScFactoryObserverRet = 259,
|
|
ScWeaponPuton = 260,
|
|
ScWeaponBreakthrough = 262,
|
|
ScWeaponAddExp = 263,
|
|
ScWeaponAttachGem = 264,
|
|
ScWeaponDetachGem = 265,
|
|
ScWeaponRefineUpgrade = 266,
|
|
ScRewardToastBegin = 270,
|
|
ScRewardToastEnd = 271,
|
|
ScRewardDropMoneyToast = 272,
|
|
ScRewardToSceneBegin = 273,
|
|
ScRewardToSceneEnd = 274,
|
|
ScRewardDropSpItemToast = 275,
|
|
ScSyncAllBloc = 280,//
|
|
ScBlocSyncLevel = 281,
|
|
ScBlocTakeLevelReward = 282,
|
|
ScBlocShopBuy = 283,
|
|
ScDungeonBegin = 300,
|
|
ScEnterDungeon = 301,
|
|
ScRestartDungeon = 302,
|
|
ScLeaveDungeon = 303,
|
|
ScSyncStamina = 304,
|
|
ScSyncFullDungeonStatus = 306,
|
|
ScDungeonEnd = 359,
|
|
ScSyncAllMail = 400,//
|
|
ScGetMail = 401,
|
|
ScReadMail = 402,
|
|
ScGetMailAttachment = 403,
|
|
ScDelMailNotify = 404,
|
|
ScNewMailNotify = 405,
|
|
ScMarkStarMail = 406,
|
|
ScSyncGameMode = 430,
|
|
ScRemoveItemNewTags = 440,
|
|
ScSyncAllWiki = 470,
|
|
ScSyncAllStat = 500,
|
|
ScSyncStat = 501,
|
|
ScNewNoticeNotify = 600,
|
|
ScCreateOrder = 650,
|
|
ScOrderMsg = 651,
|
|
ScFriendBegin = 700,
|
|
ScFriendRequestSubmit = 701,
|
|
ScFriendRequestReject = 702,
|
|
ScFriendRequestAccept = 703,
|
|
ScFriendDelete = 704,
|
|
ScFriendSearchName = 705,
|
|
ScFriendRequestListSync = 706,
|
|
ScFriendListSync = 707,
|
|
ScFriendRequestAddNotify = 708,
|
|
ScFriendAddNotify = 709,
|
|
ScFriendEnd = 750,
|
|
ScUpdateGameVar = 901,
|
|
ScSyncAllGameVar = 902,//
|
|
ScUpdateMiniGame = 913,
|
|
ScSyncAllMiniGame = 914,//
|
|
ScCompleteMiniGame = 915,
|
|
ScRpgDungeonBegin = 950,
|
|
ScRpgDungeonBuy = 951,
|
|
ScRpgDungeonSell = 952,
|
|
ScRpgDungeonEquipPuton = 953,
|
|
ScRpgDungeonEquipPutoff = 954,
|
|
ScSyncRpgEquipColumn = 955,
|
|
ScSyncRpgDungeonBuffList = 956,
|
|
ScSyncRpgTeamLevel = 957,
|
|
ScSyncRpgLevelUp = 958,
|
|
ScRpgDungeonPickLvAbility = 959,
|
|
ScSyncRpgDungeonTimeInfo = 960,
|
|
ScSyncRpgDungeonAbility = 961,
|
|
ScRpgDungeonEnd = 999,
|
|
ScItemBagCommonSync = 1000,//
|
|
ScItemBagCommonModify = 1001,
|
|
ScItemBagScopeSync = 1002,//
|
|
ScItemBagScopeModify = 1003,
|
|
ScItemBagUseItem = 1004,
|
|
ScItemBagSetQuickBar = 1005,
|
|
ScItemBagSetQuickBarPos = 1006,
|
|
ScItemBagSetItemLock = 1007,
|
|
ScItemBagAbandonInBag = 1008,
|
|
ScItemBagBagToFactoryDepot = 1009,
|
|
ScItemBagTakeoutLostAndFound = 1031,
|
|
ScItemBagGotItemToast = 1032,
|
|
ScItemBagTrialCharDepotModify = 1033,
|
|
ScItemBagTrialCharDepotClear = 1034,
|
|
ScItemBagUseItemCase = 1035,
|
|
ScItemBagChgSpaceshipChapter = 1036,
|
|
ScItemBagEnd = 1049,
|
|
ScAddBuff = 1100,
|
|
ScRemoveBuff = 1101,
|
|
ScTriggerBuff = 1102,
|
|
ScClearBuffs = 1103,
|
|
ScCastSkill = 1160,
|
|
ScSyncHp = 1161,
|
|
ScSyncPoise = 1162,
|
|
ScSyncUltimateSpCellCnt = 1163,
|
|
ScSpawnEnemy = 1170,
|
|
ScSpawnSummon = 1171,
|
|
ScEntityPropertyChange = 1172,
|
|
ScBattleDebugInfo = 1173,
|
|
ScBattleGenerationChange = 1174,
|
|
ScAttachServerSkill = 1175,
|
|
ScDetachServerSkill = 1176,
|
|
ScAddServerBuff = 1177,
|
|
ScRemoveServerBuff = 1178,
|
|
ScSpaceshipSync = 1200,//
|
|
ScSpaceshipModifyRoom = 1201,
|
|
ScSpaceshipModifyChar = 1202,
|
|
ScSpaceshipPresentCharInfo = 1203,
|
|
ScSpaceshipCharFavorabilityChange = 1204,
|
|
ScSpaceshipRecvGiftFromChar = 1205,
|
|
ScSpaceshipPresentGiftToChar = 1206,
|
|
ScSpaceshipSyncRoomLevelUp = 1207,
|
|
ScSpaceshipSyncCharSkill = 1208,
|
|
ScSpaceshipSyncRoomStation = 1209,
|
|
ScSpaceshipManufacturingStationSync = 1210,
|
|
ScSpaceshipManufacturingStationStart = 1211,
|
|
ScSpaceshipManufacturingStationCancel = 1212,
|
|
ScSpaceshipManufacturingStationCollect = 1213,
|
|
ScSpaceshipModifyGrowCabin = 1214,
|
|
ScSpaceshipGrowCabinBreed = 1215,
|
|
ScSpaceshipGrowCabinSow = 1216,
|
|
ScSpaceshipGrowCabinHarvest = 1217,
|
|
ScSpaceshipGrowCabinCancel = 1218,
|
|
ScSpaceshipReportCharWorkModify = 1219,
|
|
ScSpaceshipReportOutputModify = 1220,
|
|
ScGameMechanicsBegin = 1250,
|
|
ScGameMechanicsSync = 1251,//
|
|
ScGameMechanicsSyncUnlockCondition = 1252,
|
|
ScGameMechanicsModifyRecords = 1253,
|
|
ScGameMechanicsSyncChallengeStart = 1254,
|
|
ScGameMechanicsSyncChallengeComplete = 1255,
|
|
ScGameMechanicsSyncCompletionReward = 1256,
|
|
ScGameMechanicsSyncEnterGameInst = 1257,
|
|
ScGameMechanicsSyncLeaveGameInst = 1258,
|
|
ScGameMechanicsSyncRestartGameInst = 1259,
|
|
ScGameMechanicsModifyInstTimeFreeze = 1260,
|
|
ScGameMechanicsEnd = 1299,
|
|
ScSnsBegin = 1300,
|
|
ScSnsGetMomentList = 1301,
|
|
ScSnsGetChatList = 1302,
|
|
ScSyncSnsAddDialog = 1303,
|
|
ScSnsMomentOption = 1304,
|
|
ScSyncSnsDialogModify = 1305,
|
|
ScSyncSnsAddMoment = 1306,
|
|
ScSnsMomentRead = 1307,
|
|
ScSnsReadDialog = 1308,
|
|
ScSyncSnsChatModify = 1309,
|
|
ScSnsEnd = 1330,
|
|
ScSettlementBegin = 1331,
|
|
ScSettlementSyncAll = 1332,//
|
|
ScSettlementSyncModify = 1333,
|
|
ScSettlementFinishRequires = 1334,
|
|
ScSettlementSetOfficer = 1335,
|
|
ScSettlementSelectRequire = 1336,
|
|
ScSettlementSetSubmitMode = 1337,
|
|
ScSettlementEnd = 1350,
|
|
ScShopBegin = 1351,
|
|
ScShopSync = 1352,//
|
|
ScShopSyncShopGroupCondition = 1353,
|
|
ScShopModifyShop = 1354,
|
|
ScShopSyncShopCondition = 1355,
|
|
ScShopSyncGoodsCondition = 1356,
|
|
ScShopModifyFrequencyLimit = 1357,
|
|
ScShopDeleteFrequencyLimit = 1358,
|
|
ScShopBuyResp = 1359,
|
|
ScShopSwapMoney = 1360,
|
|
ScShopEnd = 1370,
|
|
ScTdBegin = 1371,
|
|
ScTdGetTdList = 1372,
|
|
ScTdStart = 1373,
|
|
ScTdLeave = 1374,
|
|
ScSyncTdSettlement = 1375,
|
|
ScSyncTdFullStatus = 1376,
|
|
ScSyncTdDropItem = 1378,
|
|
ScTdPickDropItem = 1379,
|
|
ScTdBuyBuilding = 1380,
|
|
ScTdEnd = 1400,
|
|
ScAdventureBegin = 1401,
|
|
ScAdventureLevelModify = 1402,
|
|
ScAdventureSyncAll = 1403,//
|
|
ScAdventureEnd = 1430,
|
|
ScGemRecast = 1431,
|
|
ScGemEnd = 1440,
|
|
ScResetDailyAdventureTask = 1441,
|
|
ScDailyActivationModify = 1443,
|
|
ScAdventureTaskModify = 1444,
|
|
ScAdventureBookSync = 1445,//
|
|
ScAdventureBookStageModify = 1447,
|
|
ScTalentBegin = 1490,
|
|
ScCharUnlockTalentNode = 1491,
|
|
ScTalentEnd = 1529,
|
|
ScRacingDungeonBegin = 1530,
|
|
ScSyncRacingDungeonPassedLevel = 1531,
|
|
ScRacingDungeonEnter = 1532,
|
|
ScSyncRacingDungeonSettlement = 1533,
|
|
ScSyncRacingDungeonReconnect = 1534,
|
|
ScRacingDungeonBattlePassReceiveReward = 1535,
|
|
ScRacingDungeonGetBattlePass = 1536,
|
|
ScRacingDungeonGetAchievement = 1537,
|
|
ScRacingDungeonAchievementReceiveReward = 1538,
|
|
ScSyncRacingDungeonBuffModify = 1539,
|
|
ScSyncRacingDungeonAchievementModify = 1540,
|
|
ScSyncRacingTimerPause = 1541,
|
|
ScSyncRacingDungeonCompleteRoom = 1542,
|
|
ScSyncRacingDungeonCountdownEvent = 1543,
|
|
ScRacingDungeonEnd = 1600,
|
|
ScCharBagSetTempTeam = 1601,
|
|
ScCharBagRemoveTrialCharacter = 1602,
|
|
ScTrialCharacterEquipMedicineModify = 1603,
|
|
ScGachaBegin = 1610,
|
|
ScGachaSync = 1611,//
|
|
ScGachaModifyPoolInfo = 1612,
|
|
ScGachaSyncPullResult = 1613,
|
|
ScGachaModifyPoolRoleData = 1614,
|
|
ScGachaEnd = 1640,
|
|
ScGameTimeFreezeBegin = 1641,
|
|
ScGameTimeFreezeStartRsp = 1642,
|
|
ScGameTimeFreezeEndRsp = 1643,
|
|
ScGameTimeFreezeEnd = 1650,
|
|
ScActivityBegin = 1651,
|
|
ScActivitySync = 1652,//
|
|
ScActivityModify = 1653,
|
|
ScDailyCheckin = 1661,
|
|
ScActivityEnd = 1690,
|
|
ScMessageEnd = 4095,
|
|
|
|
}
|
|
}
|