6 class SCR_PossessSpawnRequestComponent : SCR_SpawnRequestComponent
11 return SCR_PossessSpawnHandlerComponent;
23 #ifdef _ENABLE_RESPAWN_LOGS
24 Print(
string.Format(
"%1::DoCanRequestRespawn(playerId: %2, data: %3)", Type().ToString(),
37 [
RplRpc(RplChannel.Reliable, RplRcver.Server)]
40 #ifdef _ENABLE_RESPAWN_LOGS
41 Print(
string.Format(
"%1::Rpc_CanRequestRespawn_S(playerId: %2, entityRplId: %3)", Type().ToString(),
43 entityRplId), LogLevel.NORMAL);
53 #ifdef _ENABLE_RESPAWN_LOGS
54 Print(
string.Format(
"%1::DoRequestRespawn(playerId: %2, data: %3)", Type().ToString(),
67 [
RplRpc(RplChannel.Reliable, RplRcver.Server)]
70 #ifdef _ENABLE_RESPAWN_LOGS
71 Print(
string.Format(
"%1::Rpc_RequestRespawn_S(playerId: %2, entityRplId: %3)", Type().ToString(),
73 entityRplId), LogLevel.NORMAL);
82 override SCR_BaseRespawnDiag CreateDiag()
84 return new SCR_PossessRespawnDiag();
90 class SCR_PossessRespawnDiag : SCR_RespawnDiag<SCR_PossessSpawnRequestComponent>
92 protected int m_RplId;
95 override void DrawContent()
98 DbgUI.InputInt(
"Entity RplId: ", m_RplId);