docs(native): describe the LocalMP loadout module in its header
The header of local_mp_loadout.c still named per-unit economic multipliers that the economy rework removed from the module. It now says what the module does: on a host the client has no receiver for its own vehicle change request, so the send hook builds the ChangeUnitReflection and calls Unit::changeAircraft. Comment only. Checked: native build, check-offsets.
This commit is contained in:
1 parent
67c0189213
commit
655db2ab4a
1 file changed
+4
-2
@@ -1,8 +1,10 @@
|
||||
/*
|
||||
* LocalMP vehicle loadout, modification map, decals, 3D attachables, and crew-skill bridge.
|
||||
*
|
||||
* Stores per-unit economic multipliers in `LocalMpUnitRateEntry[32]` without touching
|
||||
* `SessionStatsNet` during respawn-screen previews (`requestChangeUnitSilent`).
|
||||
* The 2.61.0.37 client has no receiver for its own vehicle change request (0xb01d,
|
||||
* SemChangeAircraftRequest) on a host; hook_sem_change_aircraft_send builds the
|
||||
* ChangeUnitReflection from the request (weapon, modifications, bullets, skin, decals,
|
||||
* attachables, crew skills, spawn base) and calls Unit::changeAircraft itself.
|
||||
*/
|
||||
#include "hooks.h"
|
||||
#include "hook_config.h"
|
||||
|
||||
Reference in new issue
Block a user