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

Inheritance: Terraria.Plugins.Common.WorldMetadataHandlerBase
Afficher le fichier Open project: CoderCow/AdvancedCircuits-Plugin Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
InitMetadata ( ) : IMetadataFile
ReadMetadataFromFile ( string filePath ) : IMetadataFile

Method Details

HandleObjectPlacement() public méthode

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
Résultat bool

HandleTileEdit() public méthode

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
Résultat bool

InitMetadata() protected méthode

protected InitMetadata ( ) : IMetadataFile
Résultat IMetadataFile

ReadMetadataFromFile() protected méthode

protected ReadMetadataFromFile ( string filePath ) : IMetadataFile
filePath string
Résultat IMetadataFile

WorldMetadataHandler() public méthode

public WorldMetadataHandler ( Terraria.Plugins.Common.PluginTrace pluginTrace, string metadataDirectoryPath ) : System
pluginTrace Terraria.Plugins.Common.PluginTrace
metadataDirectoryPath string
Résultat System