Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ NewItem() [2/3]

static int Terraria.Item.NewItem ( IEntitySource source,
Vector2 pos,
int Width,
int Height,
int Type,
int Stack = 1,
bool noBroadcast = false,
int prefixGiven = 0,
bool noGrabDelay = false,
bool reverseLookup = false )
inlinestatic

Definition at line 49702 of file Item.cs.

49703 {
49704 return NewItem(source, (int)pos.X, (int)pos.Y, Width, Height, Type, Stack, noBroadcast, prefixGiven, noGrabDelay, reverseLookup);
49705 }
int noGrabDelay
Definition Item.cs:83
static int NewItem(IEntitySource source, Vector2 pos, Vector2 randomBox, int Type, int Stack=1, bool noBroadcast=false, int prefixGiven=0, bool noGrabDelay=false, bool reverseLookup=false)
Definition Item.cs:49697

References Terraria.Item.NewItem(), Terraria.Item.noGrabDelay, System.source, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.