Mirror Networking
Mirror.CommandAttribute Class Reference

Call this from a client to run this function on the server. More...

Inheritance diagram for Mirror.CommandAttribute:

Public Attributes

int channel = Channels.Reliable
 
bool requiresAuthority = true
 

Detailed Description

Call this from a client to run this function on the server.

Make sure to validate input etc. It's not possible to call this from a server.

Definition at line 21 of file Attributes.cs.

Member Data Documentation

◆ channel

int Mirror.CommandAttribute.channel = Channels.Reliable

Definition at line 23 of file Attributes.cs.

◆ requiresAuthority

bool Mirror.CommandAttribute.requiresAuthority = true

Definition at line 24 of file Attributes.cs.