Class EventProperty
EventProperty is the base class for all different event properties.
An event property is a value that can be configured in the logic editor on
an event.
Inheritance
EventProperty
Assembly: Assembly-CSharp.dll
Syntax
public abstract class EventProperty : Element, IValidatable
Constructors
EventProperty()
Declaration
protected EventProperty()
Fields
Event
Declaration
protected EntityEvent Event
Field Value
Type |
Description |
EntityEvent |
|
Logic
Declaration
protected EntityLogic Logic
Field Value
Type |
Description |
EntityLogic |
|
Name
Name of the property, as specified in the XML declaration.
Declaration
Field Value
nameRequired
Declaration
protected bool nameRequired
Field Value
Row
What row the property is displayed in.
Declaration
Field Value
XSpecified
Whether or not an X coordinate was specified.
Declaration
Field Value
Properties
X
The X coordinate of the event property in its row.
0 if not specified.
Declaration
public float X { get; set; }
Property Value
Methods
CopyAttributes(EventProperty)
Declaration
protected EventProperty CopyAttributes(EventProperty dst)
Parameters
Returns
OnEdit()
Declaration
protected virtual void OnEdit()
ToString()
Declaration
public override string ToString()
Returns
Overrides
Validate(String)
Declaration
protected override bool Validate(string elementName)
Parameters
Type |
Name |
Description |
String |
elementName |
|
Returns
Overrides
Implements