OnCrateHackEnd
Usage
- No return behavior
Example Autogenerated
csharp
private void OnCrateHackEnd( HackableLockedCrate instance )
{
Puts( "OnCrateHackEnd works!" );
}Location
- HackableLockedCrate::HackProgress()
csharp
public void HackProgress()
{
hackSeconds += 1f;
if (hackSeconds > requiredHackSeconds)
{
Interface.CallHook("OnCrateHackEnd", this);
Facepunch.Rust.Analytics.Azure.OnLockedCrateFinished(originalHackerPlayerId, this);
if (originalHackerPlayer != null && originalHackerPlayer.serverClan != null)
{
originalHackerPlayer.AddClanScore(ClanScoreEventType.HackedCrate);
}
//---