Property | Type | Description | |
---|---|---|---|
DrawBehind | void | ||
GetProjectileInfo | |||
IsModProjectile | bool | ||
ReserveProjectileID | int | ||
ResizeArrays | void | ||
SetupProjectile | void | ||
SetupProjectileInfo | void | ||
Unload | void |
Method | Description | |
---|---|---|
AI ( Projectile projectile ) : void | ||
CanCutTiles ( Projectile projectile ) : bool? | ||
CanDamage ( Projectile projectile ) : bool | ||
CanHitNPC ( Projectile projectile, NPC target ) : bool? | ||
CanHitPlayer ( Projectile projectile, Player target ) : bool | ||
CanHitPvp ( Projectile projectile, Player target ) : bool | ||
CanUseGrapple ( int type, Player player ) : bool? | ||
Colliding ( Projectile projectile, |
||
DrawHeldProjInFrontOfHeldItemAndArms ( Projectile projectile, bool &flag ) : void | ||
DrawOffset ( Projectile projectile, int &offsetX, int &offsetY, float &originX ) : void | ||
GetAlpha ( Projectile projectile, Color lightColor ) : Color? | ||
GetProjectile ( int type ) : |
||
GrappleOutOfRange ( float distance, Projectile projectile ) : bool | ||
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, |
||
PreAI ( Projectile projectile ) : bool | ||
PreDraw ( Projectile projectile, |
||
PreDrawExtras ( Projectile projectile, |
||
PreKill ( Projectile projectile, int timeLeft ) : bool | ||
ProjectileAI ( Projectile projectile ) : void | ||
ReadExtraAI ( |
||
ReceiveExtraAI ( Projectile projectile, byte extraAI ) : void | ||
SendExtraAI ( Projectile projectile, BitsByte &flags ) : byte[] | ||
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 |
Method | Description | |
---|---|---|
DrawBehind ( Projectile projectile, int index, List |
||
GetProjectileInfo ( Projectile projectile, |
||
IsModProjectile ( Projectile projectile ) : bool | ||
ReserveProjectileID ( ) : int | ||
ResizeArrays ( ) : void | ||
SetupProjectile ( Projectile projectile ) : void | ||
SetupProjectileInfo ( Projectile projectile ) : void | ||
Unload ( ) : void |
public static AI ( Projectile projectile ) : void | ||
projectile | Projectile | |
return | void |
public static CanCutTiles ( Projectile projectile ) : bool? | ||
projectile | Projectile | |
return | bool? |
public static CanDamage ( Projectile projectile ) : bool | ||
projectile | Projectile | |
return | bool |
public static CanHitNPC ( Projectile projectile, NPC target ) : bool? | ||
projectile | Projectile | |
target | NPC | |
return | bool? |
public static CanHitPlayer ( Projectile projectile, Player target ) : bool | ||
projectile | Projectile | |
target | Player | |
return | bool |
public static CanHitPvp ( Projectile projectile, Player target ) : bool | ||
projectile | Projectile | |
target | Player | |
return | bool |
public static CanUseGrapple ( int type, Player player ) : bool? | ||
type | int | |
player | Player | |
return | bool? |
public static Colliding ( Projectile projectile, |
||
projectile | Projectile | |
projHitbox | ||
targetHitbox | ||
return | bool? |
public static DrawHeldProjInFrontOfHeldItemAndArms ( Projectile projectile, bool &flag ) : void | ||
projectile | Projectile | |
flag | bool | |
return | void |
public static DrawOffset ( Projectile projectile, int &offsetX, int &offsetY, float &originX ) : void | ||
projectile | Projectile | |
offsetX | int | |
offsetY | int | |
originX | float | |
return | void |
public static GetAlpha ( Projectile projectile, Color lightColor ) : Color? | ||
projectile | Projectile | |
lightColor | Color | |
return | Color? |
public static GetProjectile ( int type ) : |
||
type | int | |
return |
public static GrappleOutOfRange ( float distance, Projectile projectile ) : bool | ||
distance | float | |
projectile | Projectile | |
return | bool |
public static GrappleRetreatSpeed ( Projectile projectile, Player player, float &speed ) : void | ||
projectile | Projectile | |
player | Player | |
speed | float | |
return | void |
public static Kill ( Projectile projectile, int timeLeft ) : void | ||
projectile | Projectile | |
timeLeft | int | |
return | void |
public static MinionContactDamage ( Projectile projectile ) : bool | ||
projectile | Projectile | |
return | bool |
public static 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 | |
return | void |
public static ModifyHitPlayer ( Projectile projectile, Player target, int &damage, bool &crit ) : void | ||
projectile | Projectile | |
target | Player | |
damage | int | |
crit | bool | |
return | void |
public static ModifyHitPvp ( Projectile projectile, Player target, int &damage, bool &crit ) : void | ||
projectile | Projectile | |
target | Player | |
damage | int | |
crit | bool | |
return | void |
public static NumGrappleHooks ( Projectile projectile, Player player, int &numHooks ) : void | ||
projectile | Projectile | |
player | Player | |
numHooks | int | |
return | void |
public static OnHitNPC ( Projectile projectile, NPC target, int damage, float knockback, bool crit ) : void | ||
projectile | Projectile | |
target | NPC | |
damage | int | |
knockback | float | |
crit | bool | |
return | void |
public static OnHitPlayer ( Projectile projectile, Player target, int damage, bool crit ) : void | ||
projectile | Projectile | |
target | Player | |
damage | int | |
crit | bool | |
return | void |
public static OnHitPvp ( Projectile projectile, Player target, int damage, bool crit ) : void | ||
projectile | Projectile | |
target | Player | |
damage | int | |
crit | bool | |
return | void |
public static OnTileCollide ( Projectile projectile, Vector2 oldVelocity ) : bool | ||
projectile | Projectile | |
oldVelocity | Vector2 | |
return | bool |
public static PostAI ( Projectile projectile ) : void | ||
projectile | Projectile | |
return | void |
public static PostDraw ( Projectile projectile, |
||
projectile | Projectile | |
spriteBatch | ||
lightColor | Color | |
return | void |
public static PreAI ( Projectile projectile ) : bool | ||
projectile | Projectile | |
return | bool |
public static PreDraw ( Projectile projectile, |
||
projectile | Projectile | |
spriteBatch | ||
lightColor | Color | |
return | bool |
public static PreDrawExtras ( Projectile projectile, |
||
projectile | Projectile | |
spriteBatch | ||
return | bool |
public static PreKill ( Projectile projectile, int timeLeft ) : bool | ||
projectile | Projectile | |
timeLeft | int | |
return | bool |
public static ProjectileAI ( Projectile projectile ) : void | ||
projectile | Projectile | |
return | void |
public static ReadExtraAI ( |
||
reader | ||
flags | BitsByte | |
return | byte[] |
public static ReceiveExtraAI ( Projectile projectile, byte extraAI ) : void | ||
projectile | Projectile | |
extraAI | byte | |
return | void |
public static SendExtraAI ( Projectile projectile, BitsByte &flags ) : byte[] | ||
projectile | Projectile | |
flags | BitsByte | |
return | byte[] |
public static ShouldUpdatePosition ( Projectile projectile ) : bool | ||
projectile | Projectile | |
return | bool |
public static SingleGrappleHook ( int type, Player player ) : bool? | ||
type | int | |
player | Player | |
return | bool? |
public static TileCollideStyle ( Projectile projectile, int &width, int &height, bool &fallThrough ) : void | ||
projectile | Projectile | |
width | int | |
height | int | |
fallThrough | bool | |
return | void |
public static UseGrapple ( Player player, int &type ) : void | ||
player | Player | |
type | int | |
return | void |