User:Lagg/API notes
From Team Fortress Wiki
Possible new index mappings for equipped field, probably useful for client data too
Class indexes
- 0: Scout
- 1: Scout [1]
- 2: Sniper
- 3: Soldier
- 4: Demoman
- 5: Medic
- 6: Heavy
- 7: Pyro
- 8: Spy
- 9: Engineer
Slot indexes
- 0: Primary
- 1: Secondary
- 2: Melee
- 7: Head
- 8: Misc 1
- 9: Action
- 10: Misc 2
Notes
- ↑ This is probably the correct mapping for the scout and all equipped fields with 0 in it will probably have this as well. I'm guessing this is either an off-by-one bug or a workaround of it