-
Notifications
You must be signed in to change notification settings - Fork 1
Commands
Andrea Franchini edited this page Sep 13, 2019
·
1 revision
A command can be sent to a client using the Send() method from the NetCode class.
A command begins with an OpCode, which is basically an enum, listing the commands you want to handle;
it accepts then an optional array of arguments, whose number and quantity have to be specified in the Models map.
Accepted types are:
Int8UInt8Int16UInt16Int32UInt32Float32Float64