CTFSpellBook: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:
The spellbook weapon usable by equipping the spellbook magazine or similar reskins is an instance of this class.
The spellbook weapon usable by equipping the spellbook magazine or similar reskins is an instance of this class.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/shared/tf/tf_weapon_spellbook.h /game/shared/tf/tf_weapon_spellbook.h]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/shared/tf/tf_weapon_spellbook.cpp /game/shared/tf/tf_weapon_spellbook.cpp]'''


'''Linked entity : [https://developer.valvesoftware.com/wiki/tf_weapon_spellbook tf_weapon_spellbook]'''
'''Linked entity : [https://developer.valvesoftware.com/wiki/tf_weapon_spellbook tf_weapon_spellbook]'''

Revision as of 17:54, 10 April 2022

Overview

The spellbook weapon usable by equipping the spellbook magazine or similar reskins is an instance of this class.

Source location : /game/shared/tf/tf_weapon_spellbook.cpp

Linked entity : tf_weapon_spellbook

Class Structure

SendProps

CTFSpellBook
Name Type Description
m_iSelectedSpellIndex Integer
m_iSpellCharges Integer
m_flTimeNextSpell Float
m_bFiredAttack Boolean