feat: Add support for version 3.1.5x
This commit is contained in:
@@ -2,11 +2,11 @@ use crate::net::tools::FreesrData;
|
||||
|
||||
use super::*;
|
||||
|
||||
static UNLOCKED_AVATARS: [u32; 61] = [
|
||||
static UNLOCKED_AVATARS: [u32; 63] = [
|
||||
1002, 1003, 1004, 1005, 1006, 1008, 1009, 1013, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108,
|
||||
1109, 1110, 1111, 1112, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212,
|
||||
1213, 1214, 1215, 1217, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1312, 1315, 1310,
|
||||
1314, 1218, 1221, 1220, 1222, 1223, 1317, 1313, 1225, 1402, 1401, 1404, 1403,
|
||||
1314, 1218, 1221, 1220, 1222, 1223, 1317, 1313, 1225, 1402, 1401, 1404, 1403, 1405, 1407
|
||||
];
|
||||
|
||||
pub async fn on_get_avatar_data_cs_req(
|
||||
|
||||
@@ -65,10 +65,10 @@ pub async fn on_take_off_equipment_cs_req(
|
||||
) {
|
||||
}
|
||||
|
||||
pub async fn on_relic_recommend_cs_req(
|
||||
_: &mut PlayerSession,
|
||||
req: &RelicRecommendCsReq,
|
||||
res: &mut RelicRecommendScRsp,
|
||||
) {
|
||||
res.avatar_id = req.avatar_id
|
||||
}
|
||||
// pub async fn on_relic_recommend_cs_req(
|
||||
// _: &mut PlayerSession,
|
||||
// req: &RelicRecommendCsReq,
|
||||
// res: &mut RelicRecommendScRsp,
|
||||
// ) {
|
||||
// res.avatar_id = req.avatar_id
|
||||
// }
|
||||
|
||||
@@ -44,13 +44,13 @@ use proto::{
|
||||
CmdMuseumType::*, CmdOfferingType::*, CmdPamMissionType::*, CmdPhoneType::*,
|
||||
CmdPlayerBoardType::*, CmdPlayerReturnType::*, CmdPlayerSync::*, CmdPlayerType::*,
|
||||
CmdPlotType::*, CmdPunkLordType::*, CmdQuestType::*, CmdRaidCollectionType::*, CmdRaidType::*,
|
||||
CmdRecommendType::*, CmdRedDotType::*, CmdReplayType::*, CmdRndOptionType::*,
|
||||
CmdRogueCommonType::*, CmdRogueEndless::*, CmdRogueModifierType::*, CmdRogueTournType::*,
|
||||
CmdRogueType::*, CmdRollShopType::*, CmdSceneType::*, CmdServerPrefsType::*, CmdShopType::*,
|
||||
CmdSpaceZooType::*, CmdStarFightType::*, CmdStoryLineType::*,
|
||||
CmdStrongChallengeActivityType::*, CmdTalkRewardType::*, CmdTelevisionActivityType::*,
|
||||
CmdTextJoinType::*, CmdTrainVisitorType::*, CmdTreasureDungeonType::*, CmdTutorialType::*,
|
||||
CmdWaypointType::*, CmdWolfBroType::*,
|
||||
CmdRechargeGiftType::*, CmdRecommendType::*, CmdRedDotType::*, CmdReplayType::*,
|
||||
CmdRndOptionType::*, CmdRogueCommonType::*, CmdRogueEndless::*, CmdRogueModifierType::*,
|
||||
CmdRogueTournType::*, CmdRogueType::*, CmdRollShopType::*, CmdSceneType::*,
|
||||
CmdServerPrefsType::*, CmdShopType::*, CmdSpaceZooType::*, CmdStarFightType::*,
|
||||
CmdStoryLineType::*, CmdStrongChallengeActivityType::*, CmdTalkRewardType::*,
|
||||
CmdTelevisionActivityType::*, CmdTextJoinType::*, CmdTrainVisitorType::*,
|
||||
CmdTreasureDungeonType::*, CmdTutorialType::*, CmdWaypointType::*, CmdWolfBroType::*,
|
||||
};
|
||||
|
||||
macro_rules! dummy {
|
||||
@@ -134,5 +134,6 @@ dummy! {
|
||||
// PlayerLoginFinish,
|
||||
InteractProp,
|
||||
FinishTalkMission,
|
||||
GetRechargeGiftInfo
|
||||
// RelicRecommend
|
||||
}
|
||||
|
||||
@@ -219,6 +219,6 @@ trait_handler! {
|
||||
GetGachaInfo;
|
||||
DoGacha;
|
||||
PlayerLoginFinish;
|
||||
RelicRecommend;
|
||||
// RelicRecommend;
|
||||
// SetClientPaused;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user