Skip to content

OnSignUpdated

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnSignUpdated( CarvablePumpkin instance, BasePlayer player )
{
    Puts( "OnSignUpdated works!" );
}
csharp
private void OnSignUpdated( PhotoFrame instance, BasePlayer player )
{
    Puts( "OnSignUpdated works!" );
}
csharp
private void OnSignUpdated( Signage instance, BasePlayer player, int num )
{
    Puts( "OnSignUpdated works!" );
}

Location

  • CarvablePumpkin::UpdateSign(BaseEntity/RPCMessage msg)
  • PhotoFrame::UpdateSign(BaseEntity/RPCMessage msg)
  • Signage::UpdateSign(BaseEntity/RPCMessage msg)
csharp
//---
		}
		this.textureIDs[num] = FileStorage.server.Store(array, FileStorage.Type.png, this.net.ID, (uint)num);
	}
	this.LogEdit(msg.player);
	base.SendNetworkUpdate(BasePlayer.NetworkQueue.Update);
	Interface.CallHook("OnSignUpdated", this, msg.player);
}
csharp
//---
	}
	FileStorage.server.RemoveAllByEntity(this.net.ID);
	this._overlayTextureCrc = FileStorage.server.Store(array, FileStorage.Type.png, this.net.ID, 0u);
	this.LogEdit(msg.player);
	base.SendNetworkUpdate(BasePlayer.NetworkQueue.Update);
	Interface.CallHook("OnSignUpdated", this, msg.player);
}
csharp
//---
		}
		this.textureIDs[num] = FileStorage.server.Store(array, FileStorage.Type.png, this.net.ID, (uint)num);
	}
	this.LogEdit(msg.player);
	base.SendNetworkUpdate(BasePlayer.NetworkQueue.Update);
	Interface.CallHook("OnSignUpdated", this, msg.player, num);
}

Released under the MIT License.