116 {
117 if (item1 == NULL || item2 == NULL) return false;
118
121
122 bool found = false;
124 {
125 found = false;
127 for (
int x = 0;
x < tempArray.Count();
x++)
128 {
130 {
132 {
134 if (tempArray.Get(
x) == item.GetType() ||
GetGame().IsKindOf(item.GetType(),tempArray.Get(
x)))
135 {
136 found = true;
137
140 }
141 }
142 if (found) break;
143 }
144 if (found) break;
145 }
146 if (!found) return false;
147 }
148
149 if (found)
150 {
151 return true;
152 }
153 else
154 {
155 return false;
156 }
157 }
ItemBase m_Items[MAX_NUMBER_OF_INGREDIENTS]
ref array< string > m_Ingredients[MAX_NUMBER_OF_INGREDIENTS]
ItemBase m_IngredientsSorted[MAX_NUMBER_OF_INGREDIENTS]
const int MAX_NUMBER_OF_INGREDIENTS
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()