2006-02-24 04:48:15 +00:00
|
|
|
|
|
|
|
class AWeaponPiece : public AInventory
|
|
|
|
{
|
|
|
|
DECLARE_CLASS (AWeaponPiece, AInventory)
|
2008-03-12 02:56:11 +00:00
|
|
|
HAS_OBJECT_POINTERS
|
2006-02-24 04:48:15 +00:00
|
|
|
protected:
|
|
|
|
bool PrivateShouldStay ();
|
|
|
|
public:
|
|
|
|
void Serialize (FArchive &arc);
|
|
|
|
bool TryPickup (AActor *toucher);
|
|
|
|
bool ShouldStay ();
|
|
|
|
virtual const char *PickupMessage ();
|
|
|
|
virtual void PlayPickupSound (AActor *toucher);
|
|
|
|
|
|
|
|
int PieceValue;
|
2006-05-10 02:40:43 +00:00
|
|
|
const PClass * WeaponClass;
|
2008-03-12 02:56:11 +00:00
|
|
|
TObjPtr<AWeapon> FullWeapon;
|
2006-02-24 04:48:15 +00:00
|
|
|
};
|