Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
OffhandHook Class Reference
Inheritance diagram for OffhandHook:
Collaboration diagram for OffhandHook:

Public Member Functions

virtual void offhand_think ()

Detailed Description

Definition at line 70 of file hook.qh.

Member Function Documentation

◆ offhand_think()

virtual void OffhandHook::offhand_think ( )
inlinevirtual

Reimplemented from OffhandWeapon.

Definition at line 72 of file hook.qh.

73 {
74 Weapon wep = WEP_HOOK;
75 .entity weaponentity = weaponentities[1];
76 wep.wr_think(wep, actor, weaponentity, key_pressed ? 1 : 0);
77 }
virtual void wr_think()
(SERVER) logic to run every frame
Definition weapon.qh:90
entity weaponentities[MAX_WEAPONSLOTS]
Definition weapon.qh:17

References entity(), offhand_think(), weaponentities, and Weapon::wr_think().

Referenced by offhand_think().


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