Skip to content

OnWallpaperSet

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnWallpaperSet( BuildingBlock instance, ulong id, int side )
{
    Puts( "OnWallpaperSet works!" );
}

Location

  • BuildingBlock::SetWallpaper(ulong id, int side)
csharp
public void SetWallpaper(ulong id, int side = 0)
{
	if (Interface.CallHook("OnWallpaperSet", this, id, side) != null)
	{
		return;
	}
	if (side == 0)
	{
//---

Released under the MIT License.