Метод | Описание | |
---|---|---|
AI ( |
||
Autoload ( string &name ) : bool | ||
CanCutTiles ( |
||
CanDamage ( |
||
CanHitNPC ( |
||
CanHitPlayer ( Projectile projectile, Player target ) : bool | ||
CanHitPvp ( Projectile projectile, Player target ) : bool | ||
CanUseGrapple ( int type, Player player ) : bool? | ||
Colliding ( Projectile projectile, Rectangle projHitbox, Rectangle targetHitbox ) : bool? | ||
DrawBehind ( Projectile projectile, int index, List |
||
GetAlpha ( Projectile projectile, Color lightColor ) : Color? | ||
GrappleRetreatSpeed ( Projectile projectile, Player player, float &speed ) : void | ||
Kill ( Projectile projectile, int timeLeft ) : void | ||
MinionContactDamage ( Projectile projectile ) : bool | ||
ModifyHitNPC ( Projectile projectile, NPC target, int &damage, float &knockback, bool &crit, int &hitDirection ) : void | ||
ModifyHitPlayer ( Projectile projectile, Player target, int &damage, bool &crit ) : void | ||
ModifyHitPvp ( Projectile projectile, Player target, int &damage, bool &crit ) : void | ||
NumGrappleHooks ( Projectile projectile, Player player, int &numHooks ) : void | ||
OnHitNPC ( Projectile projectile, NPC target, int damage, float knockback, bool crit ) : void | ||
OnHitPlayer ( Projectile projectile, Player target, int damage, bool crit ) : void | ||
OnHitPvp ( Projectile projectile, Player target, int damage, bool crit ) : void | ||
OnTileCollide ( Projectile projectile, Vector2 oldVelocity ) : bool | ||
PostAI ( Projectile projectile ) : void | ||
PostDraw ( Projectile projectile, SpriteBatch spriteBatch, Color lightColor ) : void | ||
PreAI ( Projectile projectile ) : bool | ||
PreDraw ( Projectile projectile, SpriteBatch spriteBatch, Color lightColor ) : bool | ||
PreDrawExtras ( Projectile projectile, SpriteBatch spriteBatch ) : bool | ||
PreKill ( Projectile projectile, int timeLeft ) : bool | ||
SetDefaults ( Projectile projectile ) : void | ||
ShouldUpdatePosition ( Projectile projectile ) : bool | ||
SingleGrappleHook ( int type, Player player ) : bool? | ||
TileCollideStyle ( Projectile projectile, int &width, int &height, bool &fallThrough ) : void | ||
UseGrapple ( Player player, int &type ) : void |
public AI ( |
||
projectile | ||
Результат | void |
public CanCutTiles ( |
||
projectile | ||
Результат | bool? |
public CanDamage ( |
||
projectile | ||
Результат | bool |
public CanHitNPC ( |
||
projectile | ||
target | Terraria.NPC | |
Результат | bool? |
public CanHitPlayer ( Projectile projectile, Player target ) : bool | ||
projectile | Projectile | |
target | Player | |
Результат | bool |
public CanHitPvp ( Projectile projectile, Player target ) : bool | ||
projectile | Projectile | |
target | Player | |
Результат | bool |
public CanUseGrapple ( int type, Player player ) : bool? | ||
type | int | |
player | Player | |
Результат | bool? |
public Colliding ( Projectile projectile, Rectangle projHitbox, Rectangle targetHitbox ) : bool? | ||
projectile | Projectile | |
projHitbox | Rectangle | |
targetHitbox | Rectangle | |
Результат | bool? |
public DrawBehind ( Projectile projectile, int index, List |
||
projectile | Projectile | |
index | int | |
drawCacheProjsBehindNPCsAndTiles | List |
|
drawCacheProjsBehindNPCs | List |
|
drawCacheProjsBehindProjectiles | List |
|
drawCacheProjsOverWiresUI | List |
|
Результат | void |
public GetAlpha ( Projectile projectile, Color lightColor ) : Color? | ||
projectile | Projectile | |
lightColor | Color | |
Результат | Color? |
public GrappleRetreatSpeed ( Projectile projectile, Player player, float &speed ) : void | ||
projectile | Projectile | |
player | Player | |
speed | float | |
Результат | void |
public Kill ( Projectile projectile, int timeLeft ) : void | ||
projectile | Projectile | |
timeLeft | int | |
Результат | void |
public MinionContactDamage ( Projectile projectile ) : bool | ||
projectile | Projectile | |
Результат | bool |
public ModifyHitNPC ( Projectile projectile, NPC target, int &damage, float &knockback, bool &crit, int &hitDirection ) : void | ||
projectile | Projectile | |
target | NPC | |
damage | int | |
knockback | float | |
crit | bool | |
hitDirection | int | |
Результат | void |
public ModifyHitPlayer ( Projectile projectile, Player target, int &damage, bool &crit ) : void | ||
projectile | Projectile | |
target | Player | |
damage | int | |
crit | bool | |
Результат | void |
public ModifyHitPvp ( Projectile projectile, Player target, int &damage, bool &crit ) : void | ||
projectile | Projectile | |
target | Player | |
damage | int | |
crit | bool | |
Результат | void |
public NumGrappleHooks ( Projectile projectile, Player player, int &numHooks ) : void | ||
projectile | Projectile | |
player | Player | |
numHooks | int | |
Результат | void |
public OnHitNPC ( Projectile projectile, NPC target, int damage, float knockback, bool crit ) : void | ||
projectile | Projectile | |
target | NPC | |
damage | int | |
knockback | float | |
crit | bool | |
Результат | void |
public OnHitPlayer ( Projectile projectile, Player target, int damage, bool crit ) : void | ||
projectile | Projectile | |
target | Player | |
damage | int | |
crit | bool | |
Результат | void |
public OnHitPvp ( Projectile projectile, Player target, int damage, bool crit ) : void | ||
projectile | Projectile | |
target | Player | |
damage | int | |
crit | bool | |
Результат | void |
public OnTileCollide ( Projectile projectile, Vector2 oldVelocity ) : bool | ||
projectile | Projectile | |
oldVelocity | Vector2 | |
Результат | bool |
public PostAI ( Projectile projectile ) : void | ||
projectile | Projectile | |
Результат | void |
public PostDraw ( Projectile projectile, SpriteBatch spriteBatch, Color lightColor ) : void | ||
projectile | Projectile | |
spriteBatch | SpriteBatch | |
lightColor | Color | |
Результат | void |
public PreAI ( Projectile projectile ) : bool | ||
projectile | Projectile | |
Результат | bool |
public PreDraw ( Projectile projectile, SpriteBatch spriteBatch, Color lightColor ) : bool | ||
projectile | Projectile | |
spriteBatch | SpriteBatch | |
lightColor | Color | |
Результат | bool |
public PreDrawExtras ( Projectile projectile, SpriteBatch spriteBatch ) : bool | ||
projectile | Projectile | |
spriteBatch | SpriteBatch | |
Результат | bool |
public PreKill ( Projectile projectile, int timeLeft ) : bool | ||
projectile | Projectile | |
timeLeft | int | |
Результат | bool |
public SetDefaults ( Projectile projectile ) : void | ||
projectile | Projectile | |
Результат | void |
public ShouldUpdatePosition ( Projectile projectile ) : bool | ||
projectile | Projectile | |
Результат | bool |
public SingleGrappleHook ( int type, Player player ) : bool? | ||
type | int | |
player | Player | |
Результат | bool? |
public TileCollideStyle ( Projectile projectile, int &width, int &height, bool &fallThrough ) : void | ||
projectile | Projectile | |
width | int | |
height | int | |
fallThrough | bool | |
Результат | void |
public UseGrapple ( Player player, int &type ) : void | ||
player | Player | |
type | int | |
Результат | void |