Subsystem session ​

#include <swofty/game/session.hpp>
Structs9
struct GameWeatherSystem {
0x1d98TimeOfDaySystem* tod; experimental
0x1da8TimeOfDayOwner* tod_owner; experimental
0x1f02uint8_t weekend_valid; experimental
0x1f04uint32_t season_index; experimental
0x1f08uint32_t weekend_index; experimental
0x1f10uint32_t base_seed; experimental
0x1f14uint32_t forced_seed; experimental
0x1f18uint32_t weekend; experimental
0x2f3auint8_t dataset_dynamic[8]; experimental
};
struct TimeOfDayClock {
0x68double time_a; experimental
0x70double time_b; experimental
0x80float time_scale; experimental
0x84float length; experimental
};
struct TimeOfDayOwner {
0x2d0TimeOfDaySystem* tod; experimental
};
struct TimeOfDaySystem {
0x2c8TimeOfDayClock clocks[10]; experimental
0x2654uint8_t scripted_scenario; experimental
0x26c4uint8_t active_dataset; experimental
0x26d8WeatherDataset datasets[10]; experimental
0xb33cuint32_t seed; experimental
0xb350float dataset_length[10]; experimental
0xb378WeatherTypeRange type_ranges[6]; experimental
0xb426uint8_t exact_timing; experimental
0xb429uint8_t ready_a; experimental
0xb42auint8_t ready_b; experimental
0xb42duint8_t random_override; experimental
0xb432uint8_t busy; experimental
0xb436uint8_t override_active; experimental
};
struct WeatherAndTimeOfDayComponent {
0x2a0GameWeatherSystem* weather_system; experimental
0x2c4uint32_t random_seed; experimental
};
struct WeatherDataset {
0xb90WeatherState states[38]; experimental
0xdf0uint32_t state_total; experimental
0xdf8uint32_t state_count; experimental
};
struct WeatherSessionSettings {
0x4uint32_t session_type; experimental
0xb14uint32_t mode; experimental
0xb18uint8_t exact_timing; experimental
};
struct WeatherState {
0x0uint32_t type; experimental
0x4float intensity; experimental
0x8float end; experimental
0xcfloat transition; experimental
};
struct WeatherTypeRange {
0x0float weight; experimental
0xcfloat intensity_min; experimental
0x10float intensity_max; experimental
};
Functions10
void Sess_Build_GroupResult(void* weekend, uint8_t group, void* result)
experimentalL2rva 0xafa220
int32_t* Sess_Find_GroupRowPosition(void* weekend, void* result, uint32_t driver_key)
experimentalL2rva 0xaf8aa0
void Sess_GameWeatherSystem_SetupSession(void* ws, void* settings, void* config)
experimentalL2rva 0x38b7350GameWeatherSystem::setupSession.
void Sess_GameWeatherSystem_UpdateRandomSeed(void* ws, uint32_t seed, uint32_t weekend)
experimentalL2rva 0x38c80e0GameWeatherSystem::updateRandomSeed.
void Sess_Record_GroupTimes(void* weekend, uint8_t group, void* entries)
experimentalL2rva 0xaf2880
void Sess_Tod_BuildSessionDataset_Thunk(void* tod_owner, const uint8_t* types, const float* hold_s, const float* trans_s, const uint8_t* random, uint32_t count, float len_s, uint16_t session, uint8_t use_count)
experimentalL2rva 0x479c710
void Sess_TyreAllocation_OnSessionStart(void* component)
experimentalL2rva 0xbcc190
void* Sess_TyreClass_FromName(void* classes, const void* name, uint8_t check_weekend_format)
experimentalL2rva 0x2e97cb0
uint32_t Sess_Tyres_ClosestAvailableCompound(void* tyre_rules, uint8_t vehicle, const uint32_t* preference, float wear_scale)
experimentalL2rva 0x368fb40
void Sess_WeatherComponent_SetSystemRandomSeed(void* component)
experimentalL2rva 0xbde3e0WeatherAndTimeOfDayComponent::setWeatherSystemRandomSeed
Data4
uint8_t g_Sess_TyreRulesActive
experimentalL2rva 0x60806c8
uint8_t g_Sess_TyreRulesMode
experimentalL2rva 0x6080694
uint32_t g_Sess_TyreRulesSessionType
experimentalL2rva 0x6080688
void* k_Sess_TyreComponentType
experimentalL2rva 0x6080cc8
Call sites1
call site_Sess_AiVehicleRegisterCall
experimentalL2rva 0x60314d

Generated from native/dist/swofty/addons/core/bindings.json for build d873a1c8d204. See the Game API overview for status levels.

Publishing