C# Class Terraria.Plugins.CoderCow.AdvancedCircuits.WorldMetadataHandler

Inheritance: Terraria.Plugins.Common.WorldMetadataHandlerBase
Datei anzeigen Open project: CoderCow/AdvancedCircuits-Plugin Class Usage Examples

Public Methods

Method Description
HandleObjectPlacement ( TShockAPI.TSPlayer player, BlockType blockType, System.Drawing.Point location, int objectStyle ) : bool
HandleTileEdit ( TShockAPI.TSPlayer player, TileEditType editType, BlockType blockType, System.Drawing.Point location, int objectStyle ) : bool
WorldMetadataHandler ( Terraria.Plugins.Common.PluginTrace pluginTrace, string metadataDirectoryPath ) : System

Protected Methods

Method Description
InitMetadata ( ) : IMetadataFile
ReadMetadataFromFile ( string filePath ) : IMetadataFile

Method Details

HandleObjectPlacement() public method

public HandleObjectPlacement ( TShockAPI.TSPlayer player, BlockType blockType, System.Drawing.Point location, int objectStyle ) : bool
player TShockAPI.TSPlayer
blockType BlockType
location System.Drawing.Point
objectStyle int
return bool

HandleTileEdit() public method

public HandleTileEdit ( TShockAPI.TSPlayer player, TileEditType editType, BlockType blockType, System.Drawing.Point location, int objectStyle ) : bool
player TShockAPI.TSPlayer
editType TileEditType
blockType BlockType
location System.Drawing.Point
objectStyle int
return bool

InitMetadata() protected method

protected InitMetadata ( ) : IMetadataFile
return IMetadataFile

ReadMetadataFromFile() protected method

protected ReadMetadataFromFile ( string filePath ) : IMetadataFile
filePath string
return IMetadataFile

WorldMetadataHandler() public method

public WorldMetadataHandler ( Terraria.Plugins.Common.PluginTrace pluginTrace, string metadataDirectoryPath ) : System
pluginTrace Terraria.Plugins.Common.PluginTrace
metadataDirectoryPath string
return System