persistence

Vars | |
custom_loadouts | The saved list of custom outfits names |
---|---|
last_modes_round_date | When were the last rounds of specific game mode played, in ticks |
season_items | Items that have been selected for the current round for each season |
season_progress | Stores the current season for each season group |
seasons_buckets | Available gun seasons |
seasons_durations | Stores how long each season should last |
Procs | |
CollectData | Stores data at the end of the round |
Initialize | Loads data at the start of the round |
LoadSeasonalItems | Loads seasons data, advances seasons and saves the data |
initialize_custom_loadouts_file | Initializes the custom loadouts file if it is missing |
initialize_seasonal_items_file | Initializes the seasonal items file if it is missing |
load_custom_loadouts_list | Loads the list of custom outfits names |
load_last_game_mode_round_time | Loads the last gamemode's round date |
load_loadout | Load a loadout from the persistence loadouts savefile |
save_custom_loadouts_list | Saves the list of custom outfits names |
save_last_game_mode_round_time | Save the date of the last gamemode's round |
save_loadout | Save a loadout into the persistence savefile |
seasons_info_message | Constructs a message with information about the active seasons and their current buckets |
update_season_data | Handles checking whether a season should advance and advancing it, along with setting up the seasons' values or procs for the round |
Var Details
custom_loadouts

The saved list of custom outfits names
last_modes_round_date

When were the last rounds of specific game mode played, in ticks
season_items

Items that have been selected for the current round for each season
season_progress

Stores the current season for each season group
seasons_buckets

Available gun seasons
seasons_durations

Stores how long each season should last
Proc Details
CollectData
Stores data at the end of the round
Initialize
Loads data at the start of the round
LoadSeasonalItems
Loads seasons data, advances seasons and saves the data
initialize_custom_loadouts_file
Initializes the custom loadouts file if it is missing
initialize_seasonal_items_file
Initializes the seasonal items file if it is missing
load_custom_loadouts_list
Loads the list of custom outfits names
load_last_game_mode_round_time
Loads the last gamemode's round date
load_loadout
Load a loadout from the persistence loadouts savefile
save_custom_loadouts_list
Saves the list of custom outfits names
save_last_game_mode_round_time
Save the date of the last gamemode's round
save_loadout
Save a loadout into the persistence savefile
seasons_info_message
Constructs a message with information about the active seasons and their current buckets
update_season_data
Handles checking whether a season should advance and advancing it, along with setting up the seasons' values or procs for the round