C# Class PluginLoader.Loader

ファイルを表示 Open project: dougbenham/TerrariaPatcher

Public Methods

Method 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

Method Description
Load ( ) : void
Load ( string references ) : void

Method Details

GetHotkeys() public static method

public static GetHotkeys ( ) : IReadOnlyCollection
return IReadOnlyCollection

IsAltModifierKeyDown() public static method

public static IsAltModifierKeyDown ( ) : bool
return bool

IsControlModifierKeyDown() public static method

public static IsControlModifierKeyDown ( ) : bool
return bool

IsShiftModifierKeyDown() public static method

public static IsShiftModifierKeyDown ( ) : bool
return bool

OnCheckHalloween() public static method

public static OnCheckHalloween ( ) : bool
return bool

OnCheckXmas() public static method

public static OnCheckXmas ( ) : bool
return bool

OnChestSetupShop() public static method

public static OnChestSetupShop ( Chest chest, int type ) : void
chest Terraria.Chest
type int
return void

OnDrawInterface() public static method

public static OnDrawInterface ( ) : void
return void

OnDrawInventory() public static method

public static OnDrawInventory ( ) : void
return void

OnInitialize() public static method

public static OnInitialize ( ) : void
return void

OnItemSetDefaults() public static method

public static OnItemSetDefaults ( Item item ) : void
item Item
return void

OnItemSlotRightClick() public static method

public static OnItemSlotRightClick ( Item inv, int context, int slot ) : bool
inv Item
context int
slot int
return bool

OnLightingGetColor() public static method

public static OnLightingGetColor ( int x, int y, Color &color ) : bool
x int
y int
color Color
return bool

OnNPCLoot() public static method

public static OnNPCLoot ( Terraria.NPC npc ) : bool
npc Terraria.NPC
return bool

OnNetMessageSendData() public static method

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
return bool

OnPlaySound() public static method

public static OnPlaySound ( int type, int x, int y, int style ) : bool
type int
x int
y int
style int
return bool

OnPlayerGetItem() public static method

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

OnPlayerHurt() public static method

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
return bool

OnPlayerKillMe() public static method

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
return bool

OnPlayerLoad() public static method

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

OnPlayerPickAmmo() public static method

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
return void

OnPlayerPreSpawn() public static method

public static OnPlayerPreSpawn ( Player player ) : void
player Terraria.Player
return void

OnPlayerPreUpdate() public static method

public static OnPlayerPreUpdate ( Player player ) : void
player Terraria.Player
return void

OnPlayerQuickBuff() public static method

public static OnPlayerQuickBuff ( Player player ) : bool
player Terraria.Player
return bool

OnPlayerSave() public static method

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

OnPlayerSpawn() public static method

public static OnPlayerSpawn ( Player player ) : void
player Player
return void

OnPlayerUpdate() public static method

public static OnPlayerUpdate ( Player player ) : void
player Player
return void

OnPlayerUpdateArmorSets() public static method

public static OnPlayerUpdateArmorSets ( Player player ) : void
player Player
return void

OnPlayerUpdateBuffs() public static method

public static OnPlayerUpdateBuffs ( Player player ) : void
player Player
return void

OnPlayerUpdateEquips() public static method

public static OnPlayerUpdateEquips ( Player player ) : void
player Player
return void

OnPreUpdate() public static method

public static OnPreUpdate ( ) : void
return void

OnProjectileAI001() public static method

public static OnProjectileAI001 ( Projectile projectile ) : void
projectile Projectile
return void

OnUpdate() public static method

public static OnUpdate ( ) : void
return void

OnUpdateTime() public static method

public static OnUpdateTime ( ) : void
return void

ParseHotkey() public static method

public static ParseHotkey ( string hotkey ) : Hotkey
hotkey string
return Hotkey

RegisterHotkey() public static method

public static RegisterHotkey ( Action action, Hotkey key ) : void
action Action
key Hotkey
return void

RegisterHotkey() public static method

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
return void

RegisterHotkey() public static method

public static RegisterHotkey ( Hotkey hotkey ) : void
hotkey Hotkey
return void

RegisterHotkey() public static method

public static RegisterHotkey ( string command, Hotkey key ) : void
command string
key Hotkey
return void

RegisterHotkey() public static method

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
return void

UnregisterHotkey() public static method

public static UnregisterHotkey ( Hotkey hotkey ) : void
hotkey Hotkey
return void

UnregisterHotkey() public static method

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
return void