Difference between revisions of "User:Lagg/API notes"
(Created page with "== Possible new index mappings for equipped field, probably useful for client data too == === Class indexes === * 5: Medic * 6: Heavy * 3: Soldier * 7: Pyro * 4: Demoman * 0: ?...") |
(Valve making an off-by-one error. NO WAY) |
||
Line 3: | Line 3: | ||
=== Class indexes === | === Class indexes === | ||
+ | * 0: Scout | ||
+ | * 1: Scout* | ||
+ | * 2: Sniper | ||
+ | * 3: Soldier | ||
+ | * 4: Demoman | ||
* 5: Medic | * 5: Medic | ||
* 6: Heavy | * 6: Heavy | ||
− | |||
* 7: Pyro | * 7: Pyro | ||
− | * | + | * 8: Spy |
− | |||
* 9: Engineer | * 9: Engineer | ||
− | + | ||
− | * | + | * 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 |
=== Slot indexes === | === Slot indexes === | ||
+ | * 0: Primary | ||
+ | * 1: Secondary | ||
* 2: Melee | * 2: Melee | ||
* 7: Head | * 7: Head | ||
* 8: Misc 1 | * 8: Misc 1 | ||
− | * | + | * 9: Action |
* 10: Misc 2 | * 10: Misc 2 | ||
− |
Revision as of 12:51, 6 November 2011
Possible new index mappings for equipped field, probably useful for client data too
Class indexes
- 0: Scout
- 1: Scout*
- 2: Sniper
- 3: Soldier
- 4: Demoman
- 5: Medic
- 6: Heavy
- 7: Pyro
- 8: Spy
- 9: Engineer
- 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
Slot indexes
- 0: Primary
- 1: Secondary
- 2: Melee
- 7: Head
- 8: Misc 1
- 9: Action
- 10: Misc 2