Свойство | Тип | Описание | |
---|---|---|---|
PVPDamage | int>.Dictionary | ||
__NPCDamageMutex | object | ||
__dictionaryMutex | object | ||
__pvpDictMutex | object |
Метод | Описание | |
---|---|---|
Dispose ( ) : void | ||
WorldEconomy ( |
Метод | Описание | |
---|---|---|
AddNPCDamage ( Terraria NPC, Terraria Player, int Damage, bool crit = false ) : void |
Adds damage done by a player to an NPC slot. When the NPC dies the rewards for it will fill out.
|
|
Dispose ( bool disposing ) : void | ||
Game_Update ( |
||
GetDeathPenalty ( TShockAPI.TSPlayer player ) : |
||
GiveRewardsForNPC ( Terraria NPC ) : void |
Should occur when an NPC dies; gives rewards out to all the players that hit it.
|
|
NetHooks_GetData ( TerrariaApi.Server.GetDataEventArgs args ) : void |
Occurs when the server has received a message from the client.
|
|
NetHooks_SendData ( TerrariaApi.Server.SendDataEventArgs e ) : void |
Occurs when the server has a chunk of data to send
|
|
PlayerHitPlayer ( int HitterSlot, int VictimSlot ) : void |
Assigns the last player slot to a victim in PVP
|
|
ProcessDeath ( int DeadPlayerSlot, bool PVPDeath ) : void |
Runs when a player dies, and hands out penalties if enabled, and rewards for PVP
|
protected AddNPCDamage ( Terraria NPC, Terraria Player, int Damage, bool crit = false ) : void | ||
NPC | Terraria | |
Player | Terraria | |
Damage | int | |
crit | bool | |
Результат | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
protected Game_Update ( |
||
args | ||
Результат | void |
protected GetDeathPenalty ( TShockAPI.TSPlayer player ) : |
||
player | TShockAPI.TSPlayer | |
Результат |
protected GiveRewardsForNPC ( Terraria NPC ) : void | ||
NPC | Terraria | |
Результат | void |
protected NetHooks_GetData ( TerrariaApi.Server.GetDataEventArgs args ) : void | ||
args | TerrariaApi.Server.GetDataEventArgs | |
Результат | void |
protected NetHooks_SendData ( TerrariaApi.Server.SendDataEventArgs e ) : void | ||
e | TerrariaApi.Server.SendDataEventArgs | |
Результат | void |
protected PlayerHitPlayer ( int HitterSlot, int VictimSlot ) : void | ||
HitterSlot | int | |
VictimSlot | int | |
Результат | void |
protected ProcessDeath ( int DeadPlayerSlot, bool PVPDeath ) : void | ||
DeadPlayerSlot | int | |
PVPDeath | bool | |
Результат | void |
public WorldEconomy ( |
||
parent | ||
Результат | System |
protected static object __NPCDamageMutex | ||
Результат | object |