Class APIEventArgs
API event arguments, subscribe to DataEventHandler to handle AntFarm events.
Inheritance
System.Object
System.EventArgs
APIEventArgs
Inherited Members
System.EventArgs.Empty
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: AntFarm.API.Events
Assembly: AntFarm.dll
Syntax
public class APIEventArgs : EventArgs
Properties
EventType
Declaration
public APIEventType EventType { get; }
Property Value
Type | Description |
---|---|
APIEventType | Type of the event |
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | Name of the event |