public void Add( WorldItem packet ) { m_List.Add( packet ); }
private ItemsBlock FindBlock( ArrayList blocks, WorldItem packet ) { foreach ( ItemsBlock block in blocks ) { if ( block.IsCompatible( packet ) ) return block; } return null; }
public bool IsCompatible( WorldItem packet ) { return packet.ItemId == m_ItemId && packet.Hue == m_Hue; }