JaneDoe-ZS/assets/FileCfg
YYHEggEgg 28864ff1e4 Teleport Map & Switching Dynamic Wallpaper Support, Gacha optimization (#2)
## Abstract

This PR implements

- Showing Teleports on map
- Quick Menu usage
- Dynamic Wallpaper switching
- Settings UP for Bangboo pool (via CLI)

## Support list

- The support of Teleport with map.
- Unlocking the 3 buttons (Interknow, DMs, Map) as a prerequisite of the previous feature. By pressing 'F' you can also modify the buttons in Quick Menu.
- Changing Dynamic Wallpaper to a specific one instead of being randomly chosen. **Notice that you can't use one's Dynamic Wallpaper if you don't own this agent.**
- Fixed some Gacha bugs, including:
  - Obtained items won't be sent to your bag unless you're pulling the standard banner;
  - Obtained items won't show in bag until relogin;
- Alternative command `gacha up` to choose the UP Bangboo. Start with `gacha up [player_uid]` and follow the guide to fill params.

## Principle

- Player's `UnlockModelBin` stores Quick Menu data, with the player's chosen buttons and their positions.
- Separate Gacha's DTO & Saving model to make it more standardized, and ensure ID validation is always performed.
- Player's bag information is now sync to client appropriately after finishing any gacha operations.
- `gacha up` search for pools with a `chooseable` Category Guarantee Policy, then list included items if user has provided the target pool's `gacha_schedule_id`.

## Known issues

- **Specifically for 1.1 Beta**, teleport may meet these issues leading to a 'black screen', forcing you to restart the client (or use `player kick` command as an alternative).
  - Don't try to teleport to `治安局光映分署`, it won't succeed. This is the 32nd teleport out of the 31 ones defined visible in assets.
  - Don't close the page after opening map. Teleport to somewhere.
- `gacha up` command is an alternative to in-game operation. You still can not see any bangboos in the collection when choosing Bangboo.

Co-authored-by: YYHEggEgg <53960525+YYHEggEgg@users.noreply.github.com>
Reviewed-on: #2
Co-authored-by: YYHEggEgg <yyheggegg@xeondev.com>
Co-committed-by: YYHEggEgg <yyheggegg@xeondev.com>
2024-08-06 17:15:04 +00:00
..
ArchiveBattleQuestTemplateTb.json Working OpenUI interacts and Archive battles 2024-07-30 03:04:55 +03:00
ArchiveFileQuestTemplateTb.json Working OpenUI interacts and Archive battles 2024-07-30 03:04:55 +03:00
AvatarBaseTemplateTb.json Hi 2024-07-20 15:59:36 +03:00
BattleEventConfigTemplateTb.json H.D.D. and Combat commissions implementation 2024-08-05 17:45:13 +03:00
BattleGroupConfigTemplateTb.json H.D.D. and Combat commissions implementation 2024-08-05 17:45:13 +03:00
HollowConfigTemplateTb.json H.D.D. and Combat commissions implementation 2024-08-05 17:45:13 +03:00
HollowQuestTemplateTb.json H.D.D. and Combat commissions implementation 2024-08-05 17:45:13 +03:00
ItemTemplateTb.json Teleport Map & Switching Dynamic Wallpaper Support, Gacha optimization (#2) 2024-08-06 17:15:04 +00:00
MainCityBgmConfigTemplateTb.json Implement MainCityBgmConfigTemplate 2024-08-01 01:38:05 +03:00
MainCityDefaultObjectTemplateTb.json SceneUnitManager: properly determine and spawn only default objects 2024-07-29 23:33:13 +03:00
MainCityObjectTemplateTb.json SceneUnitManager: create default scene units 2024-07-25 19:49:39 +03:00
OnceRewardTemplateTb.json H.D.D. and Combat commissions implementation 2024-08-05 17:45:13 +03:00
PostGirlConfigTemplateTb.json Hi 2024-07-20 15:59:36 +03:00
ProcedureConfigTemplateTb.json Hi 2024-07-20 15:59:36 +03:00
QuickAccessTemplateTb.json Teleport Map & Switching Dynamic Wallpaper Support, Gacha optimization (#2) 2024-08-06 17:15:04 +00:00
QuickFuncTemplateTb.json Teleport Map & Switching Dynamic Wallpaper Support, Gacha optimization (#2) 2024-08-06 17:15:04 +00:00
SectionConfigTemplateTb.json Hi 2024-07-20 15:59:36 +03:00
SubAreaDataTemplateTb.json H.D.D. and Combat commissions implementation 2024-08-05 17:45:13 +03:00
TeleportConfigTemplateTb.json Teleport Map & Switching Dynamic Wallpaper Support, Gacha optimization (#2) 2024-08-06 17:15:04 +00:00
TrainingQuestTemplateTb.json Hi 2024-07-20 15:59:36 +03:00
UnlockConfigTemplateTb.json Hi 2024-07-20 15:59:36 +03:00
VariableDataTemplateTb.json H.D.D. and Combat commissions implementation 2024-08-05 17:45:13 +03:00
WeaponTemplateTb.json Implement weapons 2024-07-24 21:36:02 +03:00