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