C# 클래스 Terraria.ModLoader.GlobalProjectile

파일 보기 프로젝트 열기: bluemagic123/tModLoader 1 사용 예제들

공개 메소드들

메소드 설명
AI ( Projectile projectile ) : void
Autoload ( string &name ) : bool
CanCutTiles ( Projectile projectile ) : bool?
CanDamage ( Projectile projectile ) : bool
CanHitNPC ( Projectile projectile, Terraria.NPC target ) : bool?
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 drawCacheProjsBehindNPCsAndTiles, List drawCacheProjsBehindNPCs, List drawCacheProjsBehindProjectiles, List drawCacheProjsOverWiresUI ) : void
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

메소드 상세

AI() 공개 메소드

public AI ( Projectile projectile ) : void
projectile Terraria.Projectile
리턴 void

Autoload() 공개 메소드

public Autoload ( string &name ) : bool
name string
리턴 bool

CanCutTiles() 공개 메소드

public CanCutTiles ( Projectile projectile ) : bool?
projectile Terraria.Projectile
리턴 bool?

CanDamage() 공개 메소드

public CanDamage ( Projectile projectile ) : bool
projectile Terraria.Projectile
리턴 bool

CanHitNPC() 공개 메소드

public CanHitNPC ( Projectile projectile, Terraria.NPC target ) : bool?
projectile Terraria.Projectile
target Terraria.NPC
리턴 bool?

CanHitPlayer() 공개 메소드

public CanHitPlayer ( Projectile projectile, Player target ) : bool
projectile Projectile
target Player
리턴 bool

CanHitPvp() 공개 메소드

public CanHitPvp ( Projectile projectile, Player target ) : bool
projectile Projectile
target Player
리턴 bool

CanUseGrapple() 공개 메소드

public CanUseGrapple ( int type, Player player ) : bool?
type int
player Player
리턴 bool?

Colliding() 공개 메소드

public Colliding ( Projectile projectile, Rectangle projHitbox, Rectangle targetHitbox ) : bool?
projectile Projectile
projHitbox Rectangle
targetHitbox Rectangle
리턴 bool?

DrawBehind() 공개 메소드

public DrawBehind ( Projectile projectile, int index, List drawCacheProjsBehindNPCsAndTiles, List drawCacheProjsBehindNPCs, List drawCacheProjsBehindProjectiles, List drawCacheProjsOverWiresUI ) : void
projectile Projectile
index int
drawCacheProjsBehindNPCsAndTiles List
drawCacheProjsBehindNPCs List
drawCacheProjsBehindProjectiles List
drawCacheProjsOverWiresUI List
리턴 void

GetAlpha() 공개 메소드

public GetAlpha ( Projectile projectile, Color lightColor ) : Color?
projectile Projectile
lightColor Color
리턴 Color?

GrappleRetreatSpeed() 공개 메소드

public GrappleRetreatSpeed ( Projectile projectile, Player player, float &speed ) : void
projectile Projectile
player Player
speed float
리턴 void

Kill() 공개 메소드

public Kill ( Projectile projectile, int timeLeft ) : void
projectile Projectile
timeLeft int
리턴 void

MinionContactDamage() 공개 메소드

public MinionContactDamage ( Projectile projectile ) : bool
projectile Projectile
리턴 bool

ModifyHitNPC() 공개 메소드

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

ModifyHitPlayer() 공개 메소드

public ModifyHitPlayer ( Projectile projectile, Player target, int &damage, bool &crit ) : void
projectile Projectile
target Player
damage int
crit bool
리턴 void

ModifyHitPvp() 공개 메소드

public ModifyHitPvp ( Projectile projectile, Player target, int &damage, bool &crit ) : void
projectile Projectile
target Player
damage int
crit bool
리턴 void

NumGrappleHooks() 공개 메소드

public NumGrappleHooks ( Projectile projectile, Player player, int &numHooks ) : void
projectile Projectile
player Player
numHooks int
리턴 void

OnHitNPC() 공개 메소드

public OnHitNPC ( Projectile projectile, NPC target, int damage, float knockback, bool crit ) : void
projectile Projectile
target NPC
damage int
knockback float
crit bool
리턴 void

OnHitPlayer() 공개 메소드

public OnHitPlayer ( Projectile projectile, Player target, int damage, bool crit ) : void
projectile Projectile
target Player
damage int
crit bool
리턴 void

OnHitPvp() 공개 메소드

public OnHitPvp ( Projectile projectile, Player target, int damage, bool crit ) : void
projectile Projectile
target Player
damage int
crit bool
리턴 void

OnTileCollide() 공개 메소드

public OnTileCollide ( Projectile projectile, Vector2 oldVelocity ) : bool
projectile Projectile
oldVelocity Vector2
리턴 bool

PostAI() 공개 메소드

public PostAI ( Projectile projectile ) : void
projectile Projectile
리턴 void

PostDraw() 공개 메소드

public PostDraw ( Projectile projectile, SpriteBatch spriteBatch, Color lightColor ) : void
projectile Projectile
spriteBatch SpriteBatch
lightColor Color
리턴 void

PreAI() 공개 메소드

public PreAI ( Projectile projectile ) : bool
projectile Projectile
리턴 bool

PreDraw() 공개 메소드

public PreDraw ( Projectile projectile, SpriteBatch spriteBatch, Color lightColor ) : bool
projectile Projectile
spriteBatch SpriteBatch
lightColor Color
리턴 bool

PreDrawExtras() 공개 메소드

public PreDrawExtras ( Projectile projectile, SpriteBatch spriteBatch ) : bool
projectile Projectile
spriteBatch SpriteBatch
리턴 bool

PreKill() 공개 메소드

public PreKill ( Projectile projectile, int timeLeft ) : bool
projectile Projectile
timeLeft int
리턴 bool

SetDefaults() 공개 메소드

public SetDefaults ( Projectile projectile ) : void
projectile Projectile
리턴 void

ShouldUpdatePosition() 공개 메소드

public ShouldUpdatePosition ( Projectile projectile ) : bool
projectile Projectile
리턴 bool

SingleGrappleHook() 공개 메소드

public SingleGrappleHook ( int type, Player player ) : bool?
type int
player Player
리턴 bool?

TileCollideStyle() 공개 메소드

public TileCollideStyle ( Projectile projectile, int &width, int &height, bool &fallThrough ) : void
projectile Projectile
width int
height int
fallThrough bool
리턴 void

UseGrapple() 공개 메소드

public UseGrapple ( Player player, int &type ) : void
player Player
type int
리턴 void