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 75 of file hook.qh.

Member Function Documentation

◆ offhand_think()

virtual void OffhandHook::offhand_think ( )
inlinevirtual

Reimplemented from OffhandWeapon.

Definition at line 76 of file hook.qh.

77 {
78 Weapon wep = WEP_HOOK;
79 .entity weaponentity = weaponentities[1];
80 wep.wr_think(wep, actor, weaponentity, key_pressed ? 1 : 0);
81 }
virtual void wr_think()
(SERVER) logic to run every frame
Definition weapon.qh:98
entity weaponentities[MAX_WEAPONSLOTS]
Definition weapon.qh:17

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

Referenced by offhand_think().


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