C# Class OTAPI.Modification.Tile.Modifications.TileReplacementModification

Inheritance: ModificationBase
Mostrar archivo Open project: DeathCradle/Open-Terraria-API

Public Methods

Method Description
Run ( ) : void

Private Methods

Method Description
GenerateGetter ( Mono.Cecil.PropertyDefinition property, MethodAttributes attributes, bool instance = true ) : Mono.Cecil.MethodDefinition

Generates a property getter method

GenerateProperty ( string name, TypeReference propertyType, Mono.Cecil.TypeDefinition declaringType = null, PropertyAttributes attributes = PropertyAttributes.None, MethodAttributes getterAttributes = MethodAttributes.Public|MethodAttributes.SpecialName|MethodAttributes.HideBySig, MethodAttributes setterAttributes = MethodAttributes.Public|MethodAttributes.SpecialName|MethodAttributes.HideBySig ) : Mono.Cecil.PropertyDefinition

Generates a property with getter and setter methods.

GenerateSetter ( Mono.Cecil.PropertyDefinition property, MethodAttributes attributes, bool instance = true ) : Mono.Cecil.MethodDefinition

Generates a property setter method

Method Details

Run() public method

public Run ( ) : void
return void