theBowja / genshin-db

npm package with searching functions for Genshin Impact data of all in-game languages. Data parsed/organized directly from GenshinData repo.
MIT License
371 stars 68 forks source link

[Feature Request] Add TCG cards "sharing code" id #162

Closed guyutongxue closed 9 months ago

guyutongxue commented 10 months ago

This property defined at ExcelBinOutput/GCGDeckCardExcelConfigData.json image ... counting from 1 to 318 (v4.3 now) which is useful when generating card deck sharing code. Detailed TCG sharing code algorithm can be found in this repo (and also here, a Python file just decode to "1~318" number list).

It will be great to include this in every character cards and action cards. By the way, my suggestion of naming this property might be encodingid sharingcodeid or orderid or something else... I'm not sure :(

theBowja commented 10 months ago

oh interesting. I'll have to look into this

guyutongxue commented 9 months ago

Thank you!