Méthode | Description | |
---|---|---|
AnglerQuestReward ( Player player, float rareMultiplier, List |
||
CanBeHitByNPC ( Player player, NPC npc, int &cooldownSlot ) : bool | ||
CanBeHitByProjectile ( Player player, Projectile proj ) : bool | ||
CanHitNPC ( Player player, System.Item item, NPC target ) : bool? | ||
CanHitNPCWithProj ( Projectile proj, NPC target ) : bool? | ||
CanHitPvp ( Player player, System.Item item, Player target ) : bool | ||
CanHitPvpWithProj ( Projectile proj, Player target ) : bool | ||
CatchFish ( Player player, System.Item fishingRod, int power, int liquidType, int poolSize, int worldLayer, int questFish, int &caughtType, bool &junk ) : void | ||
ConsumeAmmo ( Player player, System.Item weapon, System.Item ammo ) : bool | ||
CopyCustomBiomesTo ( Player player, Player other ) : void | ||
CustomBiomesMatch ( Player player, Player other ) : bool | ||
DrawEffects ( Terraria.ModLoader.PlayerDrawInfo drawInfo, float &r, float &g, float &b, float &a, bool &fullBright ) : void | ||
FrameEffects ( Player player ) : void | ||
GetDrawHeadLayers ( Player drawPlayer ) : List |
||
GetDrawLayers ( Player drawPlayer ) : List |
||
GetDyeTraderReward ( Player player, List |
||
GetFishingLevel ( Player player, System.Item fishingRod, System.Item bait, int &fishingLevel ) : void | ||
GetMapBackgroundImage ( Player player ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
GetWeaponDamage ( Player player, System.Item item, int &damage ) : void | ||
GetWeaponKnockback ( Player player, System.Item item, float &knockback ) : void | ||
Hurt ( Player player, bool pvp, bool quiet, double damage, int hitDirection, bool crit ) : void | ||
Kill ( Player player, double damage, int hitDirection, bool pvp, PlayerDeathReason damageSource ) : void | ||
MeleeEffects ( Player player, System.Item item, |
||
ModifyDrawInfo ( Terraria.ModLoader.PlayerDrawInfo &drawInfo ) : void | ||
ModifyHitByNPC ( Player player, NPC npc, int &damage, bool &crit ) : void | ||
ModifyHitByProjectile ( Player player, Projectile proj, int &damage, bool &crit ) : void | ||
ModifyHitNPC ( Player player, System.Item item, NPC target, int &damage, float &knockback, bool &crit ) : void | ||
ModifyHitNPCWithProj ( Projectile proj, NPC target, int &damage, float &knockback, bool &crit, int &hitDirection ) : void | ||
ModifyHitPvp ( Player player, System.Item item, Player target, int &damage, bool &crit ) : void | ||
ModifyHitPvpWithProj ( Projectile proj, Player target, int &damage, bool &crit ) : void | ||
ModifyScreenPosition ( Player player ) : void | ||
ModifyZoom ( Player player, float &zoom ) : void | ||
NaturalLifeRegen ( Player player, float ®en ) : void | ||
OnEnterWorld ( int playerIndex ) : void | ||
OnHitAnything ( Player player, float x, float y, System.Entity victim ) : void | ||
OnHitByNPC ( Player player, NPC npc, int damage, bool crit ) : void | ||
OnHitByProjectile ( Player player, Projectile proj, int damage, bool crit ) : void | ||
OnHitNPC ( Player player, System.Item item, NPC target, int damage, float knockback, bool crit ) : void | ||
OnHitNPCWithProj ( Projectile proj, NPC target, int damage, float knockback, bool crit ) : void | ||
OnHitPvp ( Player player, System.Item item, Player target, int damage, bool crit ) : void | ||
OnHitPvpWithProj ( Projectile proj, Player target, int damage, bool crit ) : void | ||
PlayerConnect ( int playerIndex ) : void | ||
PlayerDisconnect ( int playerIndex ) : void | ||
PostHurt ( Player player, bool pvp, bool quiet, double damage, int hitDirection, bool crit ) : void | ||
PostItemCheck ( Player player ) : void | ||
PostUpdate ( Player player ) : void | ||
PostUpdateBuffs ( Player player ) : void | ||
PostUpdateEquips ( Player player ) : void | ||
PostUpdateMiscEffects ( Player player ) : void | ||
PostUpdateRunSpeeds ( Player player ) : void | ||
PreHurt ( Player player, bool pvp, bool quiet, int &damage, int &hitDirection, bool &crit, bool &customDamage, bool &playSound, bool &genGore, PlayerDeathReason &damageSource ) : bool | ||
PreItemCheck ( Player player ) : bool | ||
PreKill ( Player player, double damage, int hitDirection, bool pvp, bool &playSound, bool &genGore, PlayerDeathReason &damageSource ) : bool | ||
PreUpdate ( Player player ) : void | ||
PreUpdateBuffs ( Player player ) : void | ||
ProcessTriggers ( Player player, TriggersSet triggersSet ) : void | ||
ReceiveCustomBiomes ( Player player, |
||
ResetEffects ( Player player ) : void | ||
SendClientChanges ( Player player, Player clientPlayer ) : void | ||
SendCustomBiomes ( Player player, |
||
SetControls ( Player player ) : void | ||
SetStartInventory ( Player player ) : void | ||
SetStartInventory ( Player player, IList |
||
SetupStartInventory ( Player player ) : IList |
||
Shoot ( Player player, System.Item item, Vector2 &position, float &speedX, float &speedY, int &type, int &damage, float &knockBack ) : bool | ||
SyncPlayer ( Player player, int toWho, int fromWho, bool newPlayer ) : void | ||
UpdateBadLifeRegen ( Player player ) : void | ||
UpdateBiomeVisuals ( Player player ) : void | ||
UpdateBiomes ( Player player ) : void | ||
UpdateDead ( Player player ) : void | ||
UpdateEquips ( Player player, bool &wallSpeedBuff, bool &tileSpeedBuff, bool &tileRangeBuff ) : void | ||
UpdateLifeRegen ( Player player ) : void | ||
UpdateVanityAccessories ( Player player ) : void | ||
clientClone ( Player player, Player clientClone ) : void |
Méthode | Description | |
---|---|---|
Add ( |
||
GetModPlayer ( Player player, |
||
SendCustomBiomes ( |
||
SetupPlayer ( Player player ) : void | ||
Unload ( ) : void |
public static AnglerQuestReward ( Player player, float rareMultiplier, List |
||
player | Player | |
rareMultiplier | float | |
rewardItems | List |
|
Résultat | void |
public static CanBeHitByNPC ( Player player, NPC npc, int &cooldownSlot ) : bool | ||
player | Player | |
npc | NPC | |
cooldownSlot | int | |
Résultat | bool |
public static CanBeHitByProjectile ( Player player, Projectile proj ) : bool | ||
player | Player | |
proj | Projectile | |
Résultat | bool |
public static CanHitNPC ( Player player, System.Item item, NPC target ) : bool? | ||
player | Player | |
item | System.Item | |
target | NPC | |
Résultat | bool? |
public static CanHitNPCWithProj ( Projectile proj, NPC target ) : bool? | ||
proj | Projectile | |
target | NPC | |
Résultat | bool? |
public static CanHitPvp ( Player player, System.Item item, Player target ) : bool | ||
player | Player | |
item | System.Item | |
target | Player | |
Résultat | bool |
public static CanHitPvpWithProj ( Projectile proj, Player target ) : bool | ||
proj | Projectile | |
target | Player | |
Résultat | bool |
public static CatchFish ( Player player, System.Item fishingRod, int power, int liquidType, int poolSize, int worldLayer, int questFish, int &caughtType, bool &junk ) : void | ||
player | Player | |
fishingRod | System.Item | |
power | int | |
liquidType | int | |
poolSize | int | |
worldLayer | int | |
questFish | int | |
caughtType | int | |
junk | bool | |
Résultat | void |
public static ConsumeAmmo ( Player player, System.Item weapon, System.Item ammo ) : bool | ||
player | Player | |
weapon | System.Item | |
ammo | System.Item | |
Résultat | bool |
public static CopyCustomBiomesTo ( Player player, Player other ) : void | ||
player | Player | |
other | Player | |
Résultat | void |
public static CustomBiomesMatch ( Player player, Player other ) : bool | ||
player | Player | |
other | Player | |
Résultat | bool |
public static DrawEffects ( Terraria.ModLoader.PlayerDrawInfo drawInfo, float &r, float &g, float &b, float &a, bool &fullBright ) : void | ||
drawInfo | Terraria.ModLoader.PlayerDrawInfo | |
r | float | |
g | float | |
b | float | |
a | float | |
fullBright | bool | |
Résultat | void |
public static FrameEffects ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static GetDrawHeadLayers ( Player drawPlayer ) : List |
||
drawPlayer | Player | |
Résultat | List |
public static GetDrawLayers ( Player drawPlayer ) : List |
||
drawPlayer | Player | |
Résultat | List |
public static GetDyeTraderReward ( Player player, List |
||
player | Player | |
rewardPool | List |
|
Résultat | void |
public static GetFishingLevel ( Player player, System.Item fishingRod, System.Item bait, int &fishingLevel ) : void | ||
player | Player | |
fishingRod | System.Item | |
bait | System.Item | |
fishingLevel | int | |
Résultat | void |
public static GetMapBackgroundImage ( Player player ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
player | Player | |
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |
public static GetWeaponDamage ( Player player, System.Item item, int &damage ) : void | ||
player | Player | |
item | System.Item | |
damage | int | |
Résultat | void |
public static GetWeaponKnockback ( Player player, System.Item item, float &knockback ) : void | ||
player | Player | |
item | System.Item | |
knockback | float | |
Résultat | void |
public static Hurt ( Player player, bool pvp, bool quiet, double damage, int hitDirection, bool crit ) : void | ||
player | Player | |
pvp | bool | |
quiet | bool | |
damage | double | |
hitDirection | int | |
crit | bool | |
Résultat | void |
public static Kill ( Player player, double damage, int hitDirection, bool pvp, PlayerDeathReason damageSource ) : void | ||
player | Player | |
damage | double | |
hitDirection | int | |
pvp | bool | |
damageSource | PlayerDeathReason | |
Résultat | void |
public static MeleeEffects ( Player player, System.Item item, |
||
player | Player | |
item | System.Item | |
hitbox | ||
Résultat | void |
public static ModifyDrawInfo ( Terraria.ModLoader.PlayerDrawInfo &drawInfo ) : void | ||
drawInfo | Terraria.ModLoader.PlayerDrawInfo | |
Résultat | void |
public static ModifyHitByNPC ( Player player, NPC npc, int &damage, bool &crit ) : void | ||
player | Player | |
npc | NPC | |
damage | int | |
crit | bool | |
Résultat | void |
public static ModifyHitByProjectile ( Player player, Projectile proj, int &damage, bool &crit ) : void | ||
player | Player | |
proj | Projectile | |
damage | int | |
crit | bool | |
Résultat | void |
public static ModifyHitNPC ( Player player, System.Item item, NPC target, int &damage, float &knockback, bool &crit ) : void | ||
player | Player | |
item | System.Item | |
target | NPC | |
damage | int | |
knockback | float | |
crit | bool | |
Résultat | void |
public static ModifyHitNPCWithProj ( Projectile proj, NPC target, int &damage, float &knockback, bool &crit, int &hitDirection ) : void | ||
proj | Projectile | |
target | NPC | |
damage | int | |
knockback | float | |
crit | bool | |
hitDirection | int | |
Résultat | void |
public static ModifyHitPvp ( Player player, System.Item item, Player target, int &damage, bool &crit ) : void | ||
player | Player | |
item | System.Item | |
target | Player | |
damage | int | |
crit | bool | |
Résultat | void |
public static ModifyHitPvpWithProj ( Projectile proj, Player target, int &damage, bool &crit ) : void | ||
proj | Projectile | |
target | Player | |
damage | int | |
crit | bool | |
Résultat | void |
public static ModifyScreenPosition ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static ModifyZoom ( Player player, float &zoom ) : void | ||
player | Player | |
zoom | float | |
Résultat | void |
public static NaturalLifeRegen ( Player player, float ®en ) : void | ||
player | Player | |
regen | float | |
Résultat | void |
public static OnEnterWorld ( int playerIndex ) : void | ||
playerIndex | int | |
Résultat | void |
public static OnHitAnything ( Player player, float x, float y, System.Entity victim ) : void | ||
player | Player | |
x | float | |
y | float | |
victim | System.Entity | |
Résultat | void |
public static OnHitByNPC ( Player player, NPC npc, int damage, bool crit ) : void | ||
player | Player | |
npc | NPC | |
damage | int | |
crit | bool | |
Résultat | void |
public static OnHitByProjectile ( Player player, Projectile proj, int damage, bool crit ) : void | ||
player | Player | |
proj | Projectile | |
damage | int | |
crit | bool | |
Résultat | void |
public static OnHitNPC ( Player player, System.Item item, NPC target, int damage, float knockback, bool crit ) : void | ||
player | Player | |
item | System.Item | |
target | NPC | |
damage | int | |
knockback | float | |
crit | bool | |
Résultat | void |
public static OnHitNPCWithProj ( Projectile proj, NPC target, int damage, float knockback, bool crit ) : void | ||
proj | Projectile | |
target | NPC | |
damage | int | |
knockback | float | |
crit | bool | |
Résultat | void |
public static OnHitPvp ( Player player, System.Item item, Player target, int damage, bool crit ) : void | ||
player | Player | |
item | System.Item | |
target | Player | |
damage | int | |
crit | bool | |
Résultat | void |
public static OnHitPvpWithProj ( Projectile proj, Player target, int damage, bool crit ) : void | ||
proj | Projectile | |
target | Player | |
damage | int | |
crit | bool | |
Résultat | void |
public static PlayerConnect ( int playerIndex ) : void | ||
playerIndex | int | |
Résultat | void |
public static PlayerDisconnect ( int playerIndex ) : void | ||
playerIndex | int | |
Résultat | void |
public static PostHurt ( Player player, bool pvp, bool quiet, double damage, int hitDirection, bool crit ) : void | ||
player | Player | |
pvp | bool | |
quiet | bool | |
damage | double | |
hitDirection | int | |
crit | bool | |
Résultat | void |
public static PostItemCheck ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static PostUpdate ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static PostUpdateBuffs ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static PostUpdateEquips ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static PostUpdateMiscEffects ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static PostUpdateRunSpeeds ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static PreHurt ( Player player, bool pvp, bool quiet, int &damage, int &hitDirection, bool &crit, bool &customDamage, bool &playSound, bool &genGore, PlayerDeathReason &damageSource ) : bool | ||
player | Player | |
pvp | bool | |
quiet | bool | |
damage | int | |
hitDirection | int | |
crit | bool | |
customDamage | bool | |
playSound | bool | |
genGore | bool | |
damageSource | PlayerDeathReason | |
Résultat | bool |
public static PreItemCheck ( Player player ) : bool | ||
player | Player | |
Résultat | bool |
public static PreKill ( Player player, double damage, int hitDirection, bool pvp, bool &playSound, bool &genGore, PlayerDeathReason &damageSource ) : bool | ||
player | Player | |
damage | double | |
hitDirection | int | |
pvp | bool | |
playSound | bool | |
genGore | bool | |
damageSource | PlayerDeathReason | |
Résultat | bool |
public static PreUpdate ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static PreUpdateBuffs ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static ProcessTriggers ( Player player, TriggersSet triggersSet ) : void | ||
player | Player | |
triggersSet | TriggersSet | |
Résultat | void |
public static ReceiveCustomBiomes ( Player player, |
||
player | Player | |
reader | ||
Résultat | void |
public static ResetEffects ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static SendClientChanges ( Player player, Player clientPlayer ) : void | ||
player | Player | |
clientPlayer | Player | |
Résultat | void |
public static SendCustomBiomes ( Player player, |
||
player | Player | |
writer | ||
Résultat | void |
public static SetControls ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static SetStartInventory ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static SetStartInventory ( Player player, IList |
||
player | Player | |
items | IList |
|
Résultat | void |
public static SetupStartInventory ( Player player ) : IList |
||
player | Player | |
Résultat | IList |
public static Shoot ( Player player, System.Item item, Vector2 &position, float &speedX, float &speedY, int &type, int &damage, float &knockBack ) : bool | ||
player | Player | |
item | System.Item | |
position | Vector2 | |
speedX | float | |
speedY | float | |
type | int | |
damage | int | |
knockBack | float | |
Résultat | bool |
public static SyncPlayer ( Player player, int toWho, int fromWho, bool newPlayer ) : void | ||
player | Player | |
toWho | int | |
fromWho | int | |
newPlayer | bool | |
Résultat | void |
public static UpdateBadLifeRegen ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static UpdateBiomeVisuals ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static UpdateBiomes ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static UpdateDead ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static UpdateEquips ( Player player, bool &wallSpeedBuff, bool &tileSpeedBuff, bool &tileRangeBuff ) : void | ||
player | Player | |
wallSpeedBuff | bool | |
tileSpeedBuff | bool | |
tileRangeBuff | bool | |
Résultat | void |
public static UpdateLifeRegen ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static UpdateVanityAccessories ( Player player ) : void | ||
player | Player | |
Résultat | void |
public static clientClone ( Player player, Player clientClone ) : void | ||
player | Player | |
clientClone | Player | |
Résultat | void |