Can IAccountCheats accpects value types other than boolean? (number maybe) #2727
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm coding for some nemesis cheats. e.g. nemesisHintProgressMultiplier?: number
While I'm adding properties to IAccountCheats, setAccountCheatController reports an error.
Correct me if i'm wrong. This interface requires all value type of IAccountCheats to be boolean.
In this case I have to put my cheats in configService, which will made them server-wide cheats, and I don't think that would be appropriate.
In fact, from a coding aspect of view, any cheats property that is used inside a function accepting inventory data could be a account-wide cheat. (e.g. nightwaveStandingMultiplier in inventoryService.addCallenges)
So what determines if a cheat is account or server-wide? Or else we could change ISetAccountCheatRequest, make it accepting other types of value.
This isn't coding support, just update the types