mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 12:27:43 +00:00
More gun implementations, and script objects
This commit is contained in:
@@ -28,6 +28,14 @@ enum class EWeaponType
|
||||
|
||||
class CWeaponMgr
|
||||
{
|
||||
std::map<TUniqueId, rstl::reserved_vector<s32, 10>> x0_weapons;
|
||||
public:
|
||||
void Add(TUniqueId, EWeaponType);
|
||||
void Remove(TUniqueId);
|
||||
void IncrCount(TUniqueId, EWeaponType);
|
||||
void DecrCount(TUniqueId, EWeaponType);
|
||||
s32 GetNumActive(TUniqueId, EWeaponType) const;
|
||||
s32 GetIndex(TUniqueId) const;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user