Btw, by refreshing, I mean mainly updating methods documentation but sometimes logic too. So as I already said to reaby, there'll be some tiny differences which may cause issues but I'm trying to not break too many things.
And to avoid saying all this in a commit comment, here's a quick overview of what you can expect:
- setCallVoteRatios and getCallVoteRatios are now calling the *Ex version (as callVote were already doing)
- setCallVoteRatios now has a $replaceAll parameter which default to true (to get the non-*Ex behaviour), which means $multicall is shifted to the right
- both are now using/returning VoteRatio objects
- chatSend now regroups all chatSend* methods (except *ToId) and adapts the dedicated method to call depending on the parameters
- the $message parameter can now be a dictionary as in the *ToLanguage variants
- a new $isServerMessage parameter has been added to use the ChatSendServerMessage* variants, which means $multicall is shifted to the right
- chatForwardToLogin is renamed to chatForward (for constancy with other methods which never have the *ToLogin suffix)
- tunnelSendData and writeFile are renamed to tunnelSendDataFromFile and writeFileFromFile while tunnelSendDataFromString and writeFileFromString are renamed to tunnelSendData and writeFile
- it's more logical compared to the dedicated methods but it clearly breaks things if you were using them
- I'm globally trying to return objects more often instead of associative arrays
- it may break things but it enables autocompletion so I think it's a necessary evil
- Player class is now exploded to avoid big objects with lots of null attributes