C# Класс PluginLoader.Loader

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Load ( ) : void
Load ( string references ) : void

Описание методов

GetHotkeys() публичный статический Метод

public static GetHotkeys ( ) : IReadOnlyCollection
Результат IReadOnlyCollection

IsAltModifierKeyDown() публичный статический Метод

public static IsAltModifierKeyDown ( ) : bool
Результат bool

IsControlModifierKeyDown() публичный статический Метод

public static IsControlModifierKeyDown ( ) : bool
Результат bool

IsShiftModifierKeyDown() публичный статический Метод

public static IsShiftModifierKeyDown ( ) : bool
Результат bool

OnCheckHalloween() публичный статический Метод

public static OnCheckHalloween ( ) : bool
Результат bool

OnCheckXmas() публичный статический Метод

public static OnCheckXmas ( ) : bool
Результат bool

OnChestSetupShop() публичный статический Метод

public static OnChestSetupShop ( Chest chest, int type ) : void
chest Terraria.Chest
type int
Результат void

OnDrawInterface() публичный статический Метод

public static OnDrawInterface ( ) : void
Результат void

OnDrawInventory() публичный статический Метод

public static OnDrawInventory ( ) : void
Результат void

OnInitialize() публичный статический Метод

public static OnInitialize ( ) : void
Результат void

OnItemSetDefaults() публичный статический Метод

public static OnItemSetDefaults ( Item item ) : void
item Item
Результат void

OnItemSlotRightClick() публичный статический Метод

public static OnItemSlotRightClick ( Item inv, int context, int slot ) : bool
inv Item
context int
slot int
Результат bool

OnLightingGetColor() публичный статический Метод

public static OnLightingGetColor ( int x, int y, Color &color ) : bool
x int
y int
color Color
Результат bool

OnNPCLoot() публичный статический Метод

public static OnNPCLoot ( Terraria.NPC npc ) : bool
npc Terraria.NPC
Результат bool

OnNetMessageSendData() публичный статический Метод

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
Результат bool

OnPlaySound() публичный статический Метод

public static OnPlaySound ( int type, int x, int y, int style ) : bool
type int
x int
y int
style int
Результат bool

OnPlayerGetItem() публичный статический Метод

public static OnPlayerGetItem ( Player player, Item newItem, Item &resultItem ) : bool
player Terraria.Player
newItem Item
resultItem Item
Результат bool

OnPlayerHurt() публичный статический Метод

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
Результат bool

OnPlayerKillMe() публичный статический Метод

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
Результат bool

OnPlayerLoad() публичный статический Метод

public static OnPlayerLoad ( PlayerFileData playerFileData, Player player, BinaryReader binaryReader ) : void
playerFileData Terraria.IO.PlayerFileData
player Terraria.Player
binaryReader System.IO.BinaryReader
Результат void

OnPlayerPickAmmo() публичный статический Метод

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
Результат void

OnPlayerPreSpawn() публичный статический Метод

public static OnPlayerPreSpawn ( Player player ) : void
player Terraria.Player
Результат void

OnPlayerPreUpdate() публичный статический Метод

public static OnPlayerPreUpdate ( Player player ) : void
player Terraria.Player
Результат void

OnPlayerQuickBuff() публичный статический Метод

public static OnPlayerQuickBuff ( Player player ) : bool
player Terraria.Player
Результат bool

OnPlayerSave() публичный статический Метод

public static OnPlayerSave ( PlayerFileData playerFileData, BinaryWriter binaryWriter ) : void
playerFileData Terraria.IO.PlayerFileData
binaryWriter System.IO.BinaryWriter
Результат void

OnPlayerSpawn() публичный статический Метод

public static OnPlayerSpawn ( Player player ) : void
player Player
Результат void

OnPlayerUpdate() публичный статический Метод

public static OnPlayerUpdate ( Player player ) : void
player Player
Результат void

OnPlayerUpdateArmorSets() публичный статический Метод

public static OnPlayerUpdateArmorSets ( Player player ) : void
player Player
Результат void

OnPlayerUpdateBuffs() публичный статический Метод

public static OnPlayerUpdateBuffs ( Player player ) : void
player Player
Результат void

OnPlayerUpdateEquips() публичный статический Метод

public static OnPlayerUpdateEquips ( Player player ) : void
player Player
Результат void

OnPreUpdate() публичный статический Метод

public static OnPreUpdate ( ) : void
Результат void

OnProjectileAI001() публичный статический Метод

public static OnProjectileAI001 ( Projectile projectile ) : void
projectile Projectile
Результат void

OnUpdate() публичный статический Метод

public static OnUpdate ( ) : void
Результат void

OnUpdateTime() публичный статический Метод

public static OnUpdateTime ( ) : void
Результат void

ParseHotkey() публичный статический Метод

public static ParseHotkey ( string hotkey ) : Hotkey
hotkey string
Результат Hotkey

RegisterHotkey() публичный статический Метод

public static RegisterHotkey ( Action action, Hotkey key ) : void
action Action
key Hotkey
Результат void

RegisterHotkey() публичный статический Метод

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
Результат void

RegisterHotkey() публичный статический Метод

public static RegisterHotkey ( Hotkey hotkey ) : void
hotkey Hotkey
Результат void

RegisterHotkey() публичный статический Метод

public static RegisterHotkey ( string command, Hotkey key ) : void
command string
key Hotkey
Результат void

RegisterHotkey() публичный статический Метод

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
Результат void

UnregisterHotkey() публичный статический Метод

public static UnregisterHotkey ( Hotkey hotkey ) : void
hotkey Hotkey
Результат void

UnregisterHotkey() публичный статический Метод

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
Результат void