Space Engineers
Classes | Static Public Member Functions | Public Attributes | Properties | List of all members
VRage.Network.MyEventContext Struct Reference

Classes

struct  Token
 

Static Public Member Functions

static void ValidationFailed ()
 
static Token Set (EndpointId endpoint, MyClientStateBase client, bool validate)
 

Public Attributes

readonly EndpointId Sender
 Event sender, default(EndpointId) when invoked locally. More...
 
readonly MyClientStateBase ClientState
 Event sender client data, valid only when invoked remotely on server, otherwise null. More...
 
readonly bool IsValidationRequired
 True if validation is required. More...
 

Properties

static MyEventContext Current [get]
 
bool IsLocallyInvoked [get]
 
bool HasValidationFailed [get]
 

Detailed Description

Definition at line 8 of file MyEventContext.cs.

Member Function Documentation

static Token VRage.Network.MyEventContext.Set ( EndpointId  endpoint,
MyClientStateBase  client,
bool  validate 
)
inlinestatic

Definition at line 68 of file MyEventContext.cs.

static void VRage.Network.MyEventContext.ValidationFailed ( )
inlinestatic

Definition at line 34 of file MyEventContext.cs.

Member Data Documentation

readonly MyClientStateBase VRage.Network.MyEventContext.ClientState

Event sender client data, valid only when invoked remotely on server, otherwise null.

Definition at line 47 of file MyEventContext.cs.

readonly bool VRage.Network.MyEventContext.IsValidationRequired

True if validation is required.

Definition at line 52 of file MyEventContext.cs.

readonly EndpointId VRage.Network.MyEventContext.Sender

Event sender, default(EndpointId) when invoked locally.

Definition at line 42 of file MyEventContext.cs.

Property Documentation

MyEventContext VRage.Network.MyEventContext.Current
staticget

Definition at line 30 of file MyEventContext.cs.

bool VRage.Network.MyEventContext.HasValidationFailed
get

Definition at line 58 of file MyEventContext.cs.

bool VRage.Network.MyEventContext.IsLocallyInvoked
get

Definition at line 56 of file MyEventContext.cs.


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