|
|
|
|
@ -10,10 +10,6 @@ namespace UltraCombos.Frozen.RoyalGallery |
|
|
|
|
{ |
|
|
|
|
public class ResourceClient : GrpcClientBase |
|
|
|
|
{ |
|
|
|
|
public bool isGetPageBySelf = false; |
|
|
|
|
[Configuration.Config] |
|
|
|
|
public int currentIndex = 0; |
|
|
|
|
|
|
|
|
|
[Configuration.Config] |
|
|
|
|
public string overrideHost = "127.0.0.1"; |
|
|
|
|
|
|
|
|
|
@ -95,9 +91,9 @@ namespace UltraCombos.Frozen.RoyalGallery |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var data = AppData.Instance; |
|
|
|
|
currentIndex %= pm.names.Count; |
|
|
|
|
string name = pm.names[currentIndex++]; |
|
|
|
|
currentIndex %= pm.names.Count; |
|
|
|
|
data.currentIndex %= pm.names.Count; |
|
|
|
|
string name = pm.names[data.currentIndex++]; |
|
|
|
|
data.currentIndex %= pm.names.Count; |
|
|
|
|
|
|
|
|
|
data.roleId = name; |
|
|
|
|
data.serial = Utils.GenerateSerial(0, data.roleId); |
|
|
|
|
|