Run Client Script
Run clientscript packet is used to execute a clientscript in the client with the provided arguments.
Constructors
A primary constructor that allows ones to pass in the types from the server, in case one wishes to provide accurate types. The client however only cares whether the type is a string, or isn't a string, and the exact type values get discarded.
A secondary constructor that allows one to only pass in the values and infer the types from the values. All values must be integer or string types, both of which can be mixed too. As client discards the actual types, there's no value in providing the exact type values to the client, and we can simply infer this the same way client reverses it.
Properties
the array of characters representing the clientscript types to send to the client. It is important to remember that all types which aren't 's' will be integer-based, with 's' being the only string-type. If the given value element cannot be cast to string/int respective to its type, an exception is thrown.