Skip to content

IOnRconMessage

WARNING

This is an internal hook and will not be called in plugins. See Internal Hooks for more information.

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void IOnRconMessage( IPAddress ClientIpAddress, string s )
{
    Puts( "IOnRconMessage works!" );
}

Location

  • Facepunch.Rcon.Listener/<>c__DisplayClass10_1::<Start>b__3(string s)
csharp
internal void <Start>b__3(string s)
{
	if (Interface.CallHook("IOnRconMessage", this.socket.ConnectionInfo.ClientIpAddress, s) != null)
	{
		return;
	}
	Dictionary<int, RconConnection> clients = this.CS$<>8__locals1.<>4__this.clients;
	lock (clients)
//---

Released under the MIT License.