Server.Items.Corpse.SendInfoTo C# (CSharp) Method

SendInfoTo() public method

public SendInfoTo ( Server.Network.NetState state, bool sendOplPacket ) : void
state Server.Network.NetState
sendOplPacket bool
return void
		public override void SendInfoTo( NetState state, bool sendOplPacket )
		{
			base.SendInfoTo( state, sendOplPacket );

			if (((Body)Amount).IsHuman && ItemID == 0x2006)
			{
				if (state.ContainerGridLines)
				{
					state.Send(new CorpseContent6017(state.Mobile, this));
				}
				else
				{
					state.Send(new CorpseContent(state.Mobile, this));
				}

				state.Send(new CorpseEquip(state.Mobile, this));
			}
		}