Engine calls this function to collect data from entity to store for persistence (on server side).
2911 {
2913 if (constructionComponent)
2915
2916
2918 {
2919
2921
2922
2924
2925
2927
2928
2930
2931
2932
2934 int b1 = 0;
2935 int b2 = 0;
2936 int b3 = 0;
2937 int b4 = 0;
2938
2939 if (energy_source)
2940 {
2941 energy_source.GetPersistentID(b1, b2, b3, b4);
2942 }
2943
2948 }
2949
2950
2952 }
void HandleStoreSave(ParamsWriteContext ctx)
void EntityAI()
cache blood infection chance (cfgVehicles-><entity>->Skinning->BloodInfectionSettings)
ComponentEnergyManager m_EM
void SaveVariables(ParamsWriteContext ctx)
ConstructionBasic GetConstructionBasic()
Construction itself is defined on module 4. Workaround. Don't forget to cast!