Свойство | Type | Description | |
---|---|---|---|
PVPDamage | int>.Dictionary | ||
__NPCDamageMutex | object | ||
__dictionaryMutex | object | ||
__pvpDictMutex | object |
Méthode | Description | |
---|---|---|
Dispose ( ) : void | ||
WorldEconomy ( |
Méthode | Description | |
---|---|---|
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 | |
Résultat | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
protected Game_Update ( |
||
args | ||
Résultat | void |
protected GetDeathPenalty ( TShockAPI.TSPlayer player ) : |
||
player | TShockAPI.TSPlayer | |
Résultat |
protected GiveRewardsForNPC ( Terraria NPC ) : void | ||
NPC | Terraria | |
Résultat | void |
protected NetHooks_GetData ( TerrariaApi.Server.GetDataEventArgs args ) : void | ||
args | TerrariaApi.Server.GetDataEventArgs | |
Résultat | void |
protected NetHooks_SendData ( TerrariaApi.Server.SendDataEventArgs e ) : void | ||
e | TerrariaApi.Server.SendDataEventArgs | |
Résultat | void |
protected PlayerHitPlayer ( int HitterSlot, int VictimSlot ) : void | ||
HitterSlot | int | |
VictimSlot | int | |
Résultat | void |
protected ProcessDeath ( int DeadPlayerSlot, bool PVPDeath ) : void | ||
DeadPlayerSlot | int | |
PVPDeath | bool | |
Résultat | void |
public WorldEconomy ( |
||
parent | ||
Résultat | System |
protected static object __NPCDamageMutex | ||
Résultat | object |