C# Class Terraria.Projectile

Afficher le fichier Open project: EmuDevs/EDTerraria Class Usage Examples

Méthodes publiques

Свойство Type Description
ai float[]
aiStyle int
alpha int
arrow bool
bobber bool
coldDamage bool
counterweight bool
damage int
extraUpdates int
frame int
frameCounter int
friendly bool
gfxOffY float
glowMask short
hide bool
hostile bool
identity int
ignoreWater bool
knockBack float
light float
localAI float[]
magic bool
manualDirectionChange bool
maxAI int
maxPenetrate int
melee bool
minion bool
minionPos int
minionSlots float
miscText string
netImportant bool
netSpam int
netUpdate bool
netUpdate2 bool
noDropItem bool
noEnchantments bool
npcProj bool
numHits int
numUpdates int
oldPos Vector2[]
oldRot float[]
oldSpriteDirection int[]
owner int
ownerHitCheck bool
penetrate int
playerImmune int[]
ranged bool
restrikeDelay int
rotation float
scale float
soundDelay int
spriteDirection int
stepSpeed float
thrown bool
tileCollide bool
timeLeft int
trap bool
type int

Méthodes publiques

Méthode Description
AI ( ) : void
CanReflect ( ) : bool
Colliding ( Rectangle myRect, Rectangle targetRect ) : bool
Damage ( ) : void
FishingCheck ( ) : void
GetAlpha ( Color newColor ) : Color
GetNextSlot ( ) : int
GetPrismHue ( float indexing ) : float
Kill ( ) : void
NewProjectile ( float X, float Y, float SpeedX, float SpeedY, int Type, int Damage, float KnockBack, int Owner = 255, float ai0 = 0.0f, float ai1 = 0.0f ) : int
ProjLight ( ) : void
ProjectileFixDesperation ( int own ) : void
SetDefaults ( int Type ) : void
StatusNPC ( int i ) : void
StatusPlayer ( int i ) : void
StatusPvP ( int i ) : void
ToString ( ) : string
Update ( int i ) : void
getRect ( ) : Rectangle
ghostHeal ( int dmg, Vector2 Position ) : void
ghostHurt ( int dmg, Vector2 Position ) : void
vampireHeal ( int dmg, Vector2 Position ) : void

Private Methods

Méthode Description
AI_001 ( ) : void
AI_026 ( ) : void
AI_062 ( ) : void
AI_075 ( ) : void
AI_099_1 ( ) : void
AI_099_2 ( ) : void

Method Details

AI() public méthode

public AI ( ) : void
Résultat void

CanReflect() public méthode

public CanReflect ( ) : bool
Résultat bool

Colliding() public méthode

public Colliding ( Rectangle myRect, Rectangle targetRect ) : bool
myRect Microsoft.Xna.Framework.Rectangle
targetRect Microsoft.Xna.Framework.Rectangle
Résultat bool

Damage() public méthode

public Damage ( ) : void
Résultat void

FishingCheck() public méthode

public FishingCheck ( ) : void
Résultat void

GetAlpha() public méthode

public GetAlpha ( Color newColor ) : Color
newColor Color
Résultat Color

GetNextSlot() public static méthode

public static GetNextSlot ( ) : int
Résultat int

GetPrismHue() public méthode

public GetPrismHue ( float indexing ) : float
indexing float
Résultat float

Kill() public méthode

public Kill ( ) : void
Résultat void

NewProjectile() public static méthode

public static NewProjectile ( float X, float Y, float SpeedX, float SpeedY, int Type, int Damage, float KnockBack, int Owner = 255, float ai0 = 0.0f, float ai1 = 0.0f ) : int
X float
Y float
SpeedX float
SpeedY float
Type int
Damage int
KnockBack float
Owner int
ai0 float
ai1 float
Résultat int

ProjLight() public méthode

public ProjLight ( ) : void
Résultat void

ProjectileFixDesperation() public méthode

public ProjectileFixDesperation ( int own ) : void
own int
Résultat void

SetDefaults() public méthode

public SetDefaults ( int Type ) : void
Type int
Résultat void

StatusNPC() public méthode

public StatusNPC ( int i ) : void
i int
Résultat void

StatusPlayer() public méthode

public StatusPlayer ( int i ) : void
i int
Résultat void

StatusPvP() public méthode

public StatusPvP ( int i ) : void
i int
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Update() public méthode

public Update ( int i ) : void
i int
Résultat void

getRect() public méthode

public getRect ( ) : Rectangle
Résultat Microsoft.Xna.Framework.Rectangle

ghostHeal() public méthode

public ghostHeal ( int dmg, Vector2 Position ) : void
dmg int
Position Vector2
Résultat void

ghostHurt() public méthode

public ghostHurt ( int dmg, Vector2 Position ) : void
dmg int
Position Vector2
Résultat void

vampireHeal() public méthode

public vampireHeal ( int dmg, Vector2 Position ) : void
dmg int
Position Vector2
Résultat void

Property Details

ai public_oe property

public float[] ai
Résultat float[]

aiStyle public_oe property

public int aiStyle
Résultat int

alpha public_oe property

public int alpha
Résultat int

arrow public_oe property

public bool arrow
Résultat bool

bobber public_oe property

public bool bobber
Résultat bool

coldDamage public_oe property

public bool coldDamage
Résultat bool

counterweight public_oe property

public bool counterweight
Résultat bool

damage public_oe property

public int damage
Résultat int

extraUpdates public_oe property

public int extraUpdates
Résultat int

frame public_oe property

public int frame
Résultat int

frameCounter public_oe property

public int frameCounter
Résultat int

friendly public_oe property

public bool friendly
Résultat bool

gfxOffY public_oe property

public float gfxOffY
Résultat float

glowMask public_oe property

public short glowMask
Résultat short

hide public_oe property

public bool hide
Résultat bool

hostile public_oe property

public bool hostile
Résultat bool

identity public_oe property

public int identity
Résultat int

ignoreWater public_oe property

public bool ignoreWater
Résultat bool

knockBack public_oe property

public float knockBack
Résultat float

light public_oe property

public float light
Résultat float

localAI public_oe property

public float[] localAI
Résultat float[]

magic public_oe property

public bool magic
Résultat bool

manualDirectionChange public_oe property

public bool manualDirectionChange
Résultat bool

maxAI public_oe static_oe property

public static int maxAI
Résultat int

maxPenetrate public_oe property

public int maxPenetrate
Résultat int

melee public_oe property

public bool melee
Résultat bool

minion public_oe property

public bool minion
Résultat bool

minionPos public_oe property

public int minionPos
Résultat int

minionSlots public_oe property

public float minionSlots
Résultat float

miscText public_oe property

public string miscText
Résultat string

netImportant public_oe property

public bool netImportant
Résultat bool

netSpam public_oe property

public int netSpam
Résultat int

netUpdate public_oe property

public bool netUpdate
Résultat bool

netUpdate2 public_oe property

public bool netUpdate2
Résultat bool

noDropItem public_oe property

public bool noDropItem
Résultat bool

noEnchantments public_oe property

public bool noEnchantments
Résultat bool

npcProj public_oe property

public bool npcProj
Résultat bool

numHits public_oe property

public int numHits
Résultat int

numUpdates public_oe property

public int numUpdates
Résultat int

oldPos public_oe property

public Vector2[] oldPos
Résultat Vector2[]

oldRot public_oe property

public float[] oldRot
Résultat float[]

oldSpriteDirection public_oe property

public int[] oldSpriteDirection
Résultat int[]

owner public_oe property

public int owner
Résultat int

ownerHitCheck public_oe property

public bool ownerHitCheck
Résultat bool

penetrate public_oe property

public int penetrate
Résultat int

playerImmune public_oe property

public int[] playerImmune
Résultat int[]

ranged public_oe property

public bool ranged
Résultat bool

restrikeDelay public_oe property

public int restrikeDelay
Résultat int

rotation public_oe property

public float rotation
Résultat float

scale public_oe property

public float scale
Résultat float

soundDelay public_oe property

public int soundDelay
Résultat int

spriteDirection public_oe property

public int spriteDirection
Résultat int

stepSpeed public_oe property

public float stepSpeed
Résultat float

thrown public_oe property

public bool thrown
Résultat bool

tileCollide public_oe property

public bool tileCollide
Résultat bool

timeLeft public_oe property

public int timeLeft
Résultat int

trap public_oe property

public bool trap
Résultat bool

type public_oe property

public int type
Résultat int