ebd1fdddaad182ef740b22b0ce6800cb142917f6
calcRandom() 移植的是 C# 里声明为 int 的 32 位比特反转,`<<=` 溢出按二进制 补码环绕,结果恒为合法 signed int32(高位被置起时为负)。Dart 的 int 是 64 位 且被反转值恒正,于是约一半概率产出 [2^31, 2^32) 的正数(如 3212134032),超出 UserGamePlaylog.playSpecial 的 int 声明,服务器整个 body 反序列化失败返回 HTTP 500,表现为解锁歌曲/获取收藏品不可用。按 C# 位模式重解释为 signed 32 位。 同时补上 userPlaylogList 缺少的 extBool3(UserPlaylog.cs:337 声明的 bool)。
Ichino
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Languages
Dart
89.5%
C++
5.1%
CMake
3.9%
Swift
0.7%
Kotlin
0.3%
Other
0.5%