7409 {
7410
7412
7413
7414 if (version < 102)
7415 {
7417 return false;
7418 }
7419
7420 if (!super.OnStoreLoad(ctx, version))
7421 return false;
7422
7423
7424 if (!GetHumanInventory().
OnStoreLoad(ctx, version))
7425 return false;
7426
7428 return false;
7429
7431 {
7433 {
7434 Print(
"---- failed to load PlayerStats ----");
7435 return false;
7436 }
7437
7439 {
7440 Print(
"---- failed to load ModifiersManager, read fail ----");
7441 return false;
7442 }
7443
7445 {
7446 Print(
"---- failed to load AgentPool, read fail ----");
7447 return false;
7448 }
7449
7451 {
7452 Print(
"---- failed to load SymptomManager, read fail ----");
7453 return false;
7454 }
7455
7457 {
7458 Print(
"---- failed to load BleedingManagerServer, read fail ----");
7459 return false;
7460 }
7461
7463 {
7464 Print(
"---- failed to load PlayerStomach, read fail ----");
7465 return false;
7466 }
7467
7468
7469 if (version >= 116)
7470 {
7472 {
7473 return false;
7474 }
7475 if (version <= 126)
7476 {
7478 {
7479 return false;
7480 }
7481 }
7482 }
7483
7485 {
7486 Print(
"---- failed to load Persistent Flags, read fail ----");
7487 return false;
7488 }
7489
7490 if (version >= 131)
7491 {
7492 bool onLadder;
7493 if (!ctx.
Read(onLadder))
7494 {
7495 return false;
7496 }
7497
7498 if (onLadder)
7499 {
7502 {
7503 return false;
7504 }
7505
7508 {
7510 }
7511 }
7512 }
7513
7514 if (version >= 134)
7515 {
7516 ArrowManagerPlayer arrowManager = ArrowManagerPlayer.Cast(
GetArrowManager());
7517 arrowManager.
Load(ctx);
7518 }
7519
7521 {
7522 Print(
"---- failed to load ThermalBiasHandler, read fail ----");
7523 return false;
7524 }
7525 }
7526
7527 Print(
"---- PlayerBase OnStoreLoad SUCCESS ----");
7528 return true;
7529 }
proto native Hive GetHive()
bool LoadStats(ParamsReadContext ctx, int version)
bool Load(ParamsReadContext ctx)
proto native bool CharacterIsLoginPositionChanged(Man player)
Only valid during login.
SymptomManager GetSymptomManager()
override bool OnStoreLoad(ParamsReadContext ctx, int version)
ref PlayerAgentPool m_AgentPool
ref ThermalBiasHandler m_ThermalBiasHandler
BleedingSourcesManagerServer GetBleedingManagerServer()
ref PlayerStomach m_PlayerStomach
ref ModifiersManager m_ModifiersManager
ref array< ref Param2< EntityAI, int > > m_aQuickBarLoad
PlayerStats GetPlayerStats()
bool OnStoreLoadLifespan(ParamsReadContext ctx, int version)
override ArrowManagerBase GetArrowManager()
proto bool Read(void value_in)
proto void Print(void var)
Prints content of variable to console/log.
proto native void SetPosition(vector position)
Set the world position of the Effect.