Skip to content

OnItemPainted

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnItemPainted( PaintedItemStorageEntity instance, Item enumerator, BasePlayer player, Byte[] current )
{
    Puts( "OnItemPainted works!" );
}

Location

  • PaintedItemStorageEntity::Server_UpdateImage(BaseEntity/RPCMessage msg)
csharp
//---
		{
			item.LoseCondition(0.25f);
		}
		this.lastEditedBy = msg.player.userID;
	}
	Interface.CallHook("OnItemPainted", this, item, msg.player, array);
	base.SendNetworkUpdate(BasePlayer.NetworkQueue.Update);
}

Released under the MIT License.