229 {
230 int slotsCount =
_player.GetQuickBarBonus();
231 int attCount =
_player.GetInventory().AttachmentCount();
232
233 for ( int i = 0; i < attCount; ++i)
234 {
235 slotsCount +=
_player.GetInventory().GetAttachmentFromIndex(i).GetQuickBarBonus();
236 }
237
238
240 }
void SetSize(int newSize)
static proto float Min(float x, float y)
Returns smaller of two given values.