What is the etiquette at such events?

How much should you consume if the event is being held on office premises?

How much if it is being held at a local watering hole?

Do you have events like these at the place where you work?