File tree Expand file tree Collapse file tree
addons/source-python/docs/source-python/source/developing/modules Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,3 +5,8 @@ weapons.entity module
55 :members:
66 :undoc-members:
77 :show-inheritance:
8+
9+ .. autoclass :: _weapons._entity.WeaponMixin
10+ :members:
11+ :undoc-members:
12+ :show-inheritance:
Original file line number Diff line number Diff line change @@ -133,13 +133,15 @@ void export_weapon_entity(scope _entity)
133133 &WeaponMixin::GetPrimaryAmmoCount,
134134 &WeaponMixin::SetPrimaryAmmoCount,
135135 " Get/set the weapons's primary ammo count.\n\n "
136+ " .. note:: Only available in CS:GO.\n\n "
136137 " :rtype: int" );
137138
138139 _WeaponMixin.add_property (
139140 " secondary_ammo_count" ,
140141 &WeaponMixin::GetSecondaryAmmoCount,
141142 &WeaponMixin::SetSecondaryAmmoCount,
142143 " Get/set the weapons's secondary ammo count.\n\n "
144+ " .. note:: Only available in CS:GO.\n\n "
143145 " :rtype: int" );
144146
145147
You can’t perform that action at this time.
0 commit comments