Space Engineers
|
Client method. Decorated method is be called by server on all clients. Clients always trust server and does not perform any validation. When used together with Server attribute, server (optionally) validates data, invokes the method on server and then sends it to all clients. If the data is found invalid, it can be marked so by calling MyEventContext.ValidationFailed() on the server. The broadcasts will then not be performed. More...
Client method. Decorated method is be called by server on all clients. Clients always trust server and does not perform any validation. When used together with Server attribute, server (optionally) validates data, invokes the method on server and then sends it to all clients. If the data is found invalid, it can be marked so by calling MyEventContext.ValidationFailed() on the server. The broadcasts will then not be performed.
Definition at line 15 of file BroadcastAttribute.cs.