Skip to content

OnWallpaperRemove

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private object OnWallpaperRemove( BuildingBlock instance, int side )
{
    Puts( "OnWallpaperRemove works!" );
    return null;
}

Location

  • BuildingBlock::RemoveWallpaper(int side)
csharp
public void RemoveWallpaper(int side)
{
	if (Interface.CallHook("OnWallpaperRemove", this, side) == null)
	{
		switch (side)
		{
		case 0:
			wallpaperHealth = -1f;
//---

Released under the MIT License.