inventoryInterface_s Struct Reference

#include <inventory.h>

Collaboration diagram for inventoryInterface_s:
Collaboration graph
[legend]

Data Fields

const inventoryImport_timport
invList_tinvList
item_t cacheItem
csi_tcsi
const char * name
qboolean(* RemoveFromInventory )(struct inventoryInterface_s *self, inventory_t *const i, const invDef_t *container, invList_t *fItem) __attribute__((nonnull(1)
qboolean(* nonnull )(2)
qboolean(* warn_unused_result )
invList_t *(* AddToInventory )(struct inventoryInterface_s *self, inventory_t *const i, item_t item, const invDef_t *container, int x, int y, int amount) __attribute__((nonnull(1)
invList_t *(* nonnull )(2)
invList_t *(* warn_unused_result )
int(* MoveInInventory )(struct inventoryInterface_s *self, inventory_t *const i, const invDef_t *from, invList_t *item, const invDef_t *to, int tx, int ty, int *TU, invList_t **icp) __attribute__((nonnull(1)
int(* nonnull )(2)))
qboolean(* TryAddToInventory )(struct inventoryInterface_s *self, inventory_t *const inv, item_t item, const invDef_t *container)
void(* DestroyInventory )(struct inventoryInterface_s *self, inventory_t *const i) __attribute__((nonnull(1)
void(* nonnull )(2)))
void(* EmptyContainer )(struct inventoryInterface_s *self, inventory_t *const i, const invDef_t *container) __attribute__((nonnull(1)
void(* EquipActor )(struct inventoryInterface_s *self, inventory_t *const inv, const equipDef_t *ed, const teamDef_t *td) __attribute__((nonnull(1)
void(* EquipActorMelee )(struct inventoryInterface_s *self, inventory_t *const inv, const teamDef_t *td) __attribute__((nonnull(1)))
void(* EquipActorRobot )(struct inventoryInterface_s *self, inventory_t *const inv, objDef_t *weapon) __attribute__((nonnull(1)
int(* GetUsedSlots )(struct inventoryInterface_s *self)

Detailed Description

Definition at line 14 of file inventory.h.


Field Documentation

invList_t*(* inventoryInterface_s::AddToInventory)(struct inventoryInterface_s *self, inventory_t *const i, item_t item, const invDef_t *container, int x, int y, int amount) __attribute__((nonnull(1)

Definition at line 21 of file inventory.h.

Referenced by INV_InitInventory().

Definition at line 23 of file inventory.h.

Referenced by INV_InitInventory().

void(* inventoryInterface_s::DestroyInventory)(struct inventoryInterface_s *self, inventory_t *const i) __attribute__((nonnull(1)
void(* inventoryInterface_s::EmptyContainer)(struct inventoryInterface_s *self, inventory_t *const i, const invDef_t *container) __attribute__((nonnull(1)
void(* inventoryInterface_s::EquipActor)(struct inventoryInterface_s *self, inventory_t *const inv, const equipDef_t *ed, const teamDef_t *td) __attribute__((nonnull(1)
void(* inventoryInterface_s::EquipActorMelee)(struct inventoryInterface_s *self, inventory_t *const inv, const teamDef_t *td) __attribute__((nonnull(1)))
void(* inventoryInterface_s::EquipActorRobot)(struct inventoryInterface_s *self, inventory_t *const inv, objDef_t *weapon) __attribute__((nonnull(1)

Definition at line 17 of file inventory.h.

Referenced by INV_DestroyInventory(), and INV_InitInventory().

Definition at line 19 of file inventory.h.

Referenced by INV_InitInventory().

int(* inventoryInterface_s::MoveInInventory)(struct inventoryInterface_s *self, inventory_t *const i, const invDef_t *from, invList_t *item, const invDef_t *to, int tx, int ty, int *TU, invList_t **icp) __attribute__((nonnull(1)

Definition at line 25 of file inventory.h.

Referenced by INV_InitInventory().

void(* inventoryInterface_s::nonnull)(2))) (  ) 
void(* inventoryInterface_s::nonnull)(2))) (  ) 
qboolean(* inventoryInterface_s::RemoveFromInventory)(struct inventoryInterface_s *self, inventory_t *const i, const invDef_t *container, invList_t *fItem) __attribute__((nonnull(1)

Definition at line 31 of file inventory.h.

Definition at line 28 of file inventory.h.


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2