C# Class ACR_BuilderPlugin.ModuleValidator

Show file Open project: ALandFarAway/ALFA-Base-Resources Class Usage Examples

Public Methods

Method Description
Run ( ) : void

Private Methods

Method Description
EnforceNonDefaultScript ( string reference, OEIShared script, string newDefault, string blacklist ) : void
GetAreVariablesEqual ( NWN2WaypointTemplate waypoint, string variable1, string variable2 ) : bool

Determines if a given variable on an object matches another.

Validate ( NWN2CreatureBlueprint creature ) : void
Validate ( NWN2CreatureInstance creature ) : void
Validate ( NWN2CreatureTemplate creature, string reference ) : void
Validate ( NWN2DoorBlueprint door ) : void
Validate ( NWN2DoorInstance door ) : void
Validate ( NWN2DoorTemplate door, string reference ) : void
Validate ( NWN2ItemBlueprint item ) : void
Validate ( NWN2ItemInstance item ) : void
Validate ( NWN2ItemTemplate item, string reference ) : void
Validate ( NWN2PlaceableBlueprint placeable ) : void
Validate ( NWN2PlaceableInstance placeable ) : void
Validate ( NWN2PlaceableTemplate placeable, string reference ) : void
Validate ( NWN2TriggerBlueprint trigger ) : void
Validate ( NWN2TriggerInstance trigger ) : void
Validate ( NWN2TriggerTemplate trigger, string reference ) : void
Validate ( NWN2WaypointBlueprint waypoint ) : void
Validate ( NWN2WaypointInstance waypoint ) : void
Validate ( NWN2WaypointTemplate waypoint, string reference ) : void
ValidateVariableBounds ( string reference, NWN2WaypointTemplate waypoint, string variable, float min, float max ) : void
ValidateVariableBounds ( string reference, NWN2WaypointTemplate waypoint, string variable, int min, int max ) : void

Verifies that a given variable on an object is inclusively between two values.

ValidateVariableType ( string reference, NWN2WaypointTemplate waypoint, string variable, NWN2ScriptVariableType type, bool enforce = true ) : void

Verifies that a given variable on an object is of the correct type.

Method Details

Run() public method

public Run ( ) : void
return void