Skip to content

OnTurretAssigned

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnTurretAssigned( AutoTurret instance, ulong num, BasePlayer player )
{
    Puts( "OnTurretAssigned works!" );
}

Location

  • AutoTurret::AssignToFriend(BaseEntity/RPCMessage msg)
csharp
//---
	}
	Facepunch.Rust.Analytics.Azure.OnEntityAuthChanged(this, arg_CC_1, arg_C1_0.Select(arg_C1_1), "added", num);
	this.authorizedPlayers.Add(playerNameID);
	this.UpdateMaxAuthCapacity();
	base.SendNetworkUpdate(BasePlayer.NetworkQueue.Update);
	Interface.CallHook("OnTurretAssigned", this, num, msg.player);
}

Released under the MIT License.