OnRespawnInformationGiven
Usage
- No return behavior
Example Autogenerated
csharp
private void OnRespawnInformationGiven( BasePlayer instance, List<ProtoBuf.RespawnInformation.SpawnOptions> list`1 )
{
Puts( "OnRespawnInformationGiven works!" );
}Location
- BasePlayer::SendRespawnOptions()
csharp
//---
CollectExternalAndSend();
return;
}
List<RespawnInformation.SpawnOptions> list = Facepunch.Pool.Get<List<RespawnInformation.SpawnOptions>>();
GetRespawnOptionsForPlayer(list, userID);
Interface.CallHook("OnRespawnInformationGiven", this, list);
SendToPlayer(list, loading: false);
async void CollectExternalAndSend()
{
List<RespawnInformation.SpawnOptions> list2 = Facepunch.Pool.Get<List<RespawnInformation.SpawnOptions>>();
GetRespawnOptionsForPlayer(list2, userID);
//---