C# Class PluginLoader.Loader

Afficher le fichier Open project: dougbenham/TerrariaPatcher

Méthodes publiques

Méthode Description
GetHotkeys ( ) : IReadOnlyCollection
IsAltModifierKeyDown ( ) : bool
IsControlModifierKeyDown ( ) : bool
IsShiftModifierKeyDown ( ) : bool
OnCheckHalloween ( ) : bool
OnCheckXmas ( ) : bool
OnChestSetupShop ( Chest chest, int type ) : void
OnDrawInterface ( ) : void
OnDrawInventory ( ) : void
OnInitialize ( ) : void
OnItemSetDefaults ( Item item ) : void
OnItemSlotRightClick ( Item inv, int context, int slot ) : bool
OnLightingGetColor ( int x, int y, Color &color ) : bool
OnNPCLoot ( Terraria.NPC npc ) : bool
OnNetMessageSendData ( int msgType, int remoteClient, int ignoreClient, string text, int number, float number2, float number3, float number4, int number5, int number6, int number7 ) : bool
OnPlaySound ( int type, int x, int y, int style ) : bool
OnPlayerGetItem ( Player player, Item newItem, Item &resultItem ) : bool
OnPlayerHurt ( Player player, PlayerDeathReason damageSource, int damage, int hitDirection, bool pvp, bool quiet, bool crit, int cooldownCounter, double &result ) : bool
OnPlayerKillMe ( Player player, PlayerDeathReason damageSource, double dmg, int hitDirection, bool pvp ) : bool
OnPlayerLoad ( PlayerFileData playerFileData, Player player, BinaryReader binaryReader ) : void
OnPlayerPickAmmo ( Player player, Item weapon, int &shoot, float &speed, bool &canShoot, int &damage, float &knockback ) : void
OnPlayerPreSpawn ( Player player ) : void
OnPlayerPreUpdate ( Player player ) : void
OnPlayerQuickBuff ( Player player ) : bool
OnPlayerSave ( PlayerFileData playerFileData, BinaryWriter binaryWriter ) : void
OnPlayerSpawn ( Player player ) : void
OnPlayerUpdate ( Player player ) : void
OnPlayerUpdateArmorSets ( Player player ) : void
OnPlayerUpdateBuffs ( Player player ) : void
OnPlayerUpdateEquips ( Player player ) : void
OnPreUpdate ( ) : void
OnProjectileAI001 ( Projectile projectile ) : void
OnUpdate ( ) : void
OnUpdateTime ( ) : void
ParseHotkey ( string hotkey ) : Hotkey
RegisterHotkey ( Action action, Hotkey key ) : void
RegisterHotkey ( Action action, Microsoft.Xna.Framework.Input.Keys key, bool control = false, bool shift = false, bool alt = false, bool ignoreModifierKeys = false ) : void
RegisterHotkey ( Hotkey hotkey ) : void
RegisterHotkey ( string command, Hotkey key ) : void
RegisterHotkey ( string command, Microsoft.Xna.Framework.Input.Keys key, bool control = false, bool shift = false, bool alt = false, bool ignoreModifierKeys = false ) : void
UnregisterHotkey ( Hotkey hotkey ) : void
UnregisterHotkey ( Microsoft.Xna.Framework.Input.Keys key, bool control = false, bool shift = false, bool alt = false, bool ignoreModifierKeys = false ) : void

Private Methods

Méthode Description
Load ( ) : void
Load ( string references ) : void

Method Details

GetHotkeys() public static méthode

public static GetHotkeys ( ) : IReadOnlyCollection
Résultat IReadOnlyCollection

IsAltModifierKeyDown() public static méthode

public static IsAltModifierKeyDown ( ) : bool
Résultat bool

IsControlModifierKeyDown() public static méthode

public static IsControlModifierKeyDown ( ) : bool
Résultat bool

IsShiftModifierKeyDown() public static méthode

public static IsShiftModifierKeyDown ( ) : bool
Résultat bool

OnCheckHalloween() public static méthode

public static OnCheckHalloween ( ) : bool
Résultat bool

OnCheckXmas() public static méthode

public static OnCheckXmas ( ) : bool
Résultat bool

OnChestSetupShop() public static méthode

public static OnChestSetupShop ( Chest chest, int type ) : void
chest Terraria.Chest
type int
Résultat void

OnDrawInterface() public static méthode

public static OnDrawInterface ( ) : void
Résultat void

OnDrawInventory() public static méthode

public static OnDrawInventory ( ) : void
Résultat void

OnInitialize() public static méthode

public static OnInitialize ( ) : void
Résultat void

OnItemSetDefaults() public static méthode

public static OnItemSetDefaults ( Item item ) : void
item Item
Résultat void

OnItemSlotRightClick() public static méthode

public static OnItemSlotRightClick ( Item inv, int context, int slot ) : bool
inv Item
context int
slot int
Résultat bool

OnLightingGetColor() public static méthode

public static OnLightingGetColor ( int x, int y, Color &color ) : bool
x int
y int
color Color
Résultat bool

OnNPCLoot() public static méthode

public static OnNPCLoot ( Terraria.NPC npc ) : bool
npc Terraria.NPC
Résultat bool

OnNetMessageSendData() public static méthode

public static OnNetMessageSendData ( int msgType, int remoteClient, int ignoreClient, string text, int number, float number2, float number3, float number4, int number5, int number6, int number7 ) : bool
msgType int
remoteClient int
ignoreClient int
text string
number int
number2 float
number3 float
number4 float
number5 int
number6 int
number7 int
Résultat bool

OnPlaySound() public static méthode

public static OnPlaySound ( int type, int x, int y, int style ) : bool
type int
x int
y int
style int
Résultat bool

OnPlayerGetItem() public static méthode

public static OnPlayerGetItem ( Player player, Item newItem, Item &resultItem ) : bool
player Terraria.Player
newItem Item
resultItem Item
Résultat bool

OnPlayerHurt() public static méthode

public static OnPlayerHurt ( Player player, PlayerDeathReason damageSource, int damage, int hitDirection, bool pvp, bool quiet, bool crit, int cooldownCounter, double &result ) : bool
player Terraria.Player
damageSource PlayerDeathReason
damage int
hitDirection int
pvp bool
quiet bool
crit bool
cooldownCounter int
result double
Résultat bool

OnPlayerKillMe() public static méthode

public static OnPlayerKillMe ( Player player, PlayerDeathReason damageSource, double dmg, int hitDirection, bool pvp ) : bool
player Terraria.Player
damageSource PlayerDeathReason
dmg double
hitDirection int
pvp bool
Résultat bool

OnPlayerLoad() public static méthode

public static OnPlayerLoad ( PlayerFileData playerFileData, Player player, BinaryReader binaryReader ) : void
playerFileData Terraria.IO.PlayerFileData
player Terraria.Player
binaryReader System.IO.BinaryReader
Résultat void

OnPlayerPickAmmo() public static méthode

public static OnPlayerPickAmmo ( Player player, Item weapon, int &shoot, float &speed, bool &canShoot, int &damage, float &knockback ) : void
player Terraria.Player
weapon Item
shoot int
speed float
canShoot bool
damage int
knockback float
Résultat void

OnPlayerPreSpawn() public static méthode

public static OnPlayerPreSpawn ( Player player ) : void
player Terraria.Player
Résultat void

OnPlayerPreUpdate() public static méthode

public static OnPlayerPreUpdate ( Player player ) : void
player Terraria.Player
Résultat void

OnPlayerQuickBuff() public static méthode

public static OnPlayerQuickBuff ( Player player ) : bool
player Terraria.Player
Résultat bool

OnPlayerSave() public static méthode

public static OnPlayerSave ( PlayerFileData playerFileData, BinaryWriter binaryWriter ) : void
playerFileData Terraria.IO.PlayerFileData
binaryWriter System.IO.BinaryWriter
Résultat void

OnPlayerSpawn() public static méthode

public static OnPlayerSpawn ( Player player ) : void
player Player
Résultat void

OnPlayerUpdate() public static méthode

public static OnPlayerUpdate ( Player player ) : void
player Player
Résultat void

OnPlayerUpdateArmorSets() public static méthode

public static OnPlayerUpdateArmorSets ( Player player ) : void
player Player
Résultat void

OnPlayerUpdateBuffs() public static méthode

public static OnPlayerUpdateBuffs ( Player player ) : void
player Player
Résultat void

OnPlayerUpdateEquips() public static méthode

public static OnPlayerUpdateEquips ( Player player ) : void
player Player
Résultat void

OnPreUpdate() public static méthode

public static OnPreUpdate ( ) : void
Résultat void

OnProjectileAI001() public static méthode

public static OnProjectileAI001 ( Projectile projectile ) : void
projectile Projectile
Résultat void

OnUpdate() public static méthode

public static OnUpdate ( ) : void
Résultat void

OnUpdateTime() public static méthode

public static OnUpdateTime ( ) : void
Résultat void

ParseHotkey() public static méthode

public static ParseHotkey ( string hotkey ) : Hotkey
hotkey string
Résultat Hotkey

RegisterHotkey() public static méthode

public static RegisterHotkey ( Action action, Hotkey key ) : void
action Action
key Hotkey
Résultat void

RegisterHotkey() public static méthode

public static RegisterHotkey ( Action action, Microsoft.Xna.Framework.Input.Keys key, bool control = false, bool shift = false, bool alt = false, bool ignoreModifierKeys = false ) : void
action Action
key Microsoft.Xna.Framework.Input.Keys
control bool
shift bool
alt bool
ignoreModifierKeys bool
Résultat void

RegisterHotkey() public static méthode

public static RegisterHotkey ( Hotkey hotkey ) : void
hotkey Hotkey
Résultat void

RegisterHotkey() public static méthode

public static RegisterHotkey ( string command, Hotkey key ) : void
command string
key Hotkey
Résultat void

RegisterHotkey() public static méthode

public static RegisterHotkey ( string command, Microsoft.Xna.Framework.Input.Keys key, bool control = false, bool shift = false, bool alt = false, bool ignoreModifierKeys = false ) : void
command string
key Microsoft.Xna.Framework.Input.Keys
control bool
shift bool
alt bool
ignoreModifierKeys bool
Résultat void

UnregisterHotkey() public static méthode

public static UnregisterHotkey ( Hotkey hotkey ) : void
hotkey Hotkey
Résultat void

UnregisterHotkey() public static méthode

public static UnregisterHotkey ( Microsoft.Xna.Framework.Input.Keys key, bool control = false, bool shift = false, bool alt = false, bool ignoreModifierKeys = false ) : void
key Microsoft.Xna.Framework.Input.Keys
control bool
shift bool
alt bool
ignoreModifierKeys bool
Résultat void