Skip to content

OnUserPermissionRevoked

Called when a user permission is revoked

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnUserPermissionRevoked( string playerId, string permission )
{
    Puts( "OnUserPermissionRevoked works!" );
}

Location

  • Permission::RevokeUserPermission(string playerId, string permission)
csharp
	else
	{
		if (!userData.Perms.Remove(permission))
		{
			return;
		}
		Interface.Call("OnUserPermissionRevoked", new object[] { playerId, permission });
		return;
	}
}

Released under the MIT License.