<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<context_menu
	layout="topleft"
	name="Multi-Selected People Context Menu">
	<menu_item_call
		enabled="false"
		label="Add Friends"
		layout="topleft"
		name="Add Friends">
		<on_click
			function="Avatar.AddFriends" />
		<on_enable
			function="Avatar.EnableItem"
			parameter="can_add" />
	</menu_item_call>
	<menu_item_call
		label="Add to Set"
		layout="topleft"
		name="Add to Set">
		<menu_item_call.on_click
			function="Avatar.AddToContactSet" />
	</menu_item_call>
	<menu_item_call
		label="Remove Friends"
		layout="topleft"
		name="Remove Friend">
		<menu_item_call.on_click
			function="Avatar.RemoveFriend" />
		<menu_item_call.on_enable
			function="Avatar.EnableItem"
			parameter="can_delete" />
	</menu_item_call>
	<menu_item_call
		label="IM"
		layout="topleft"
		name="IM">
		<on_click
			function="Avatar.IM" />
	</menu_item_call>
	<menu_item_call
		enabled="false"
		label="Call"
		layout="topleft"
		name="Call">
		<on_click
			function="Avatar.Call" />
		<on_enable
			function="Avatar.EnableItem"
			parameter="can_call" />
	</menu_item_call>
	<menu name="MarkAvatar" label="Mark...">
		<menu_item_call
			label="Red"
			name="MarkRed">
			<menu_item_call.on_click
				function="Nearby.People.SetAvatarMarkColor"
				parameter="Red"/>
		</menu_item_call>
		<menu_item_call
		label="Green"
		name="MarkGreen">
			<menu_item_call.on_click
				function="Nearby.People.SetAvatarMarkColor"
				parameter="Green"/>
		</menu_item_call>
		<menu_item_call
		label="Blue"
		name="MarkBlue">
			<menu_item_call.on_click
				function="Nearby.People.SetAvatarMarkColor"
				parameter="Blue"/>
		</menu_item_call>
		<menu_item_call
			label="Purple"
			name="MarkPurple">
			<menu_item_call.on_click
				function="Nearby.People.SetAvatarMarkColor"
				parameter="Purple"/>
		</menu_item_call>
		<menu_item_call
			label="Yellow"
			name="MarkYellow">
			<menu_item_call.on_click
				function="Nearby.People.SetAvatarMarkColor"
				parameter="LtYellow"/>
		</menu_item_call>
		<menu_item_separator/>
		<menu_item_call
			label="Clear Mark(s)"
			name="Clear Mark">
			<menu_item_call.on_click
				function="Nearby.People.ClearAvatarMarkColor"/>
		</menu_item_call>
		<menu_item_separator/>
		<menu_item_call
			label="Clear all Marks"
			name="Clear Marks">
			<menu_item_call.on_click
				function="Nearby.People.ClearAllAvatarMarkColors"/>
		</menu_item_call>
	</menu>
	<menu_item_call
		enabled="false"
		label="Share"
		layout="topleft"
		name="Share">
		<on_click
			function="Avatar.Share" />
	</menu_item_call>
	<menu_item_call
		enabled="false"
		label="Pay"
		layout="topleft"
		name="Pay">
		<menu_item_call.on_click
			function="Avatar.Pay" />
		<menu_item_call.on_enable
			function="Avatar.EnableItem"
			parameter="can_pay"/>
	</menu_item_call>
	<menu_item_call
		label="Offer Teleport"
		name="teleport">
		<menu_item_call.on_click
			function="Avatar.OfferTeleport"/>
		<menu_item_call.on_enable
			function="Avatar.EnableItem"
			parameter="can_offer_teleport"/>
	</menu_item_call>

	<menu_item_separator />

	<menu_item_call
		label="Freeze"
		name="freeze">
		<menu_item_call.on_click
			function="Avatar.Freeze"/>
		<menu_item_call.on_visible
			function="Avatar.VisibleFreezeEject"/>
	</menu_item_call>
	<menu_item_call
		label="Parcel Eject"
		name="eject">
		<menu_item_call.on_click
			function="Avatar.Eject"/>
		<menu_item_call.on_visible
			function="Avatar.VisibleFreezeEject"/>
	</menu_item_call>
	<menu_item_call
		label="Estate Kick"
		name="kick">
		<menu_item_call.on_click
			function="Avatar.Kick"/>
		<menu_item_call.on_visible
			function="Avatar.VisibleKickTeleportHome"/>
	</menu_item_call>
	<menu_item_call
		label="Estate Teleport Home"
		name="teleport_home">
		<menu_item_call.on_click
			function="Avatar.TeleportHome"/>
		<menu_item_call.on_visible
			function="Avatar.VisibleKickTeleportHome"/>
	</menu_item_call>
	<menu_item_call
		label="Estate Ban"
		name="estate_ban">
		<menu_item_call.on_click
			function="Avatar.EstateBan"/>
		<menu_item_call.on_visible
			function="Avatar.VisibleKickTeleportHome"/>
	</menu_item_call>
	<menu_item_call
		label="Derender"
		name="derender">
		<menu_item_call.on_click
			function="Avatar.Derender"/>
	</menu_item_call>
	<menu_item_call
		label="Derender &amp; Blacklist"
		name="derender_permanent">
		<menu_item_call.on_click
			function="Avatar.DerenderPermanent"/>
	</menu_item_call>
	<menu label="Render Settings" name="render_settings">
		<menu_item_call
			label="Render Normally"
			name="av_render_normal">
			<menu_item_call.on_click
				function="Nearby.People.SetRenderMode"
				parameter="0" />
		</menu_item_call>
		<menu_item_call
			label="Do Not Render"
			name="av_render_never">
			<menu_item_call.on_click
				function="Nearby.People.SetRenderMode"
				parameter="1" />
		</menu_item_call>
		<menu_item_call
			label="Render Fully"
			name="av_render_always">
			<menu_item_call.on_click
				function="Nearby.People.SetRenderMode"
				parameter="2" />
		</menu_item_call>
	</menu>
</context_menu>
