.submit()

Stats

.submit()

This is the function of API responsible for sending values ​​to the statistics defined on our servers, it takes two arguments. The first is the name of the statistic as defined, and the second is the value that will be stored:

statName:String

The exactly name of the stat

value:Number

The value that will be converted to integer and stored

salt

The encripted salt parameter in 64-base to authenticate your action. You don't need to send this param if you are using our SWC library

Ex: Submitting several types of stats to site