Class EventController
An Event Controller with extra functionality for the client.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: DuneNet.Client.Controllers
Assembly: DuneNet.Client.dll
Syntax
public sealed class EventController : BaseEventController
Methods
InvokeEvent(String, EventArguments, Boolean)
Invokes the target clientside event.
Declaration
public void InvokeEvent(string eventName, EventArguments eventArguments, bool invokeOnServer = false)
Parameters
Type | Name | Description |
---|---|---|
System.String | eventName | The registration name of the event to invoke. |
EventArguments | eventArguments | The arguments the event will be invoked with. Must not be null but can contain no set variables. |
System.Boolean | invokeOnServer | Whether the event should be networked. True if the event should be called on the server, False otherwise. |