Space Engineers
VRage.Network.BroadcastAttribute Class Reference

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...

Inheritance diagram for VRage.Network.BroadcastAttribute:

Detailed Description

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.


The documentation for this class was generated from the following file: