Server.Multis.BaseCamp.AddItem C# (CSharp) Method

AddItem() public method

public AddItem ( Item item, int xOffset, int yOffset, int zOffset ) : void
item Item
xOffset int
yOffset int
zOffset int
return void
		public virtual void AddItem( Item item, int xOffset, int yOffset, int zOffset )
		{
			m_Items.Add( item );

			int zavg = Map.GetAverageZ(X + xOffset, Y + yOffset);
			item.MoveToWorld( new Point3D( X + xOffset, Y + yOffset, zavg + zOffset ), Map );
		}