<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<!-- *NOTE: See also menu_avatar_other.xml -->
<context_menu
 layout="topleft"
 name="Avatar Pie">
    <menu_item_call
     label="View Profile"
     name="Profile...">
        <menu_item_call.on_click
         function="ShowAgentProfile"
         parameter="hit object" />
        <menu_item_call.on_enable
         function="RLV.CanShowName" />
    </menu_item_call>
   <menu_item_call
     label="Add Contact"
     name="Add Contact">
        <menu_item_call.on_click
         function="Avatar.AddContact" />
        <menu_item_call.on_visible
         function="Avatar.EnableAddFriend" />
    </menu_item_call>
    <menu_item_call
     label="IM"
     name="Send IM...">
        <menu_item_call.on_click
         function="Avatar.SendIM" />
        <menu_item_call.on_enable
         function="RLV.CanShowName" />
    </menu_item_call>
    <menu_item_call
     label="Call"
     name="Call">
        <menu_item_call.on_click
         function="Avatar.Call" />
        <menu_item_call.on_enable
         function="Avatar.EnableCall" />
    </menu_item_call>
   <menu_item_call
     label="Teleport"
     name="Teleport...">
        <menu_item_call.on_click
         function="Avatar.Teleport" />
    </menu_item_call>
   <menu_item_call
     enabled="false"
     label="Pay"
     name="Pay...">
        <menu_item_call.on_click
         function="PayObject" />
        <menu_item_call.on_enable
         function="EnablePayAvatar" />
    </menu_item_call>
   <menu_item_call
     label="Add Friend"
     name="Add Friend">
        <menu_item_call.on_click
         function="Avatar.AddFriend" />
        <menu_item_call.on_visible
         function="Avatar.EnableAddFriend" />
    </menu_item_call>

   <menu_item_separator />
    <context_menu
     label="Copy"
     name="avatar_copy">
        <menu_item_call
         label="Copy Display Name"
         name="avatar_copy_displayname">
            <menu_item_call.on_click
             function="Avatar.Copy"
             parameter="displayname" />
        </menu_item_call>
        <menu_item_call
         label="Copy Full Name"
         name="avatar_copy_fullname">
            <menu_item_call.on_click
             function="Avatar.Copy"
             parameter="fullname" />
        </menu_item_call>
        <menu_item_call
         label="Copy SLurl"
         name="avatar_copy_slurl">
            <menu_item_call.on_click
             function="Avatar.Copy"
             parameter="slurl" />
        </menu_item_call>
    </context_menu>
    <context_menu
     label="Manage"
     name="Avatar Manage">
    <menu_item_call
     enabled="false"
     label="Block"
     name="Avatar Mute">
        <menu_item_call.on_click
         function="Avatar.Mute" />
        <menu_item_call.on_enable
         function="Avatar.EnableMute" />
    </menu_item_call>
    <menu_item_call
     label="Report"
     name="abuse">
        <menu_item_call.on_click
         function="Avatar.ReportAbuse" />
    </menu_item_call>
        <menu_item_call
         label="Freeze"
         name="Freeze...">
            <menu_item_call.on_click
             function="Avatar.Freeze" />
            <menu_item_call.on_visible
             function="Avatar.EnableFreezeEject"/>
        </menu_item_call>
        <menu_item_call
         label="Eject"
         name="Eject...">
            <menu_item_call.on_click
             function="Avatar.Eject" />
            <menu_item_call.on_visible
             function="Avatar.EnableFreezeEject"/>
        </menu_item_call>
        <menu_item_call
         label="Kick"
         name="kick">
          <menu_item_call.on_click
             function="Avatar.Kick"/>
          <menu_item_call.on_visible
             function="Avatar.EnableKickTeleportHome"/>
        </menu_item_call>
        <menu_item_call
         label="Teleport Home"
         name="teleport_home">
          <menu_item_call.on_click
             function="Avatar.TeleportHome"/>
          <menu_item_call.on_visible
             function="Avatar.EnableKickTeleportHome"/>
        </menu_item_call>
    </context_menu>

        <menu_item_call
         label="Debug Textures"
         name="Debug...">
            <menu_item_call.on_click
             function="Avatar.Debug" />
            <menu_item_call.on_visible
             function="IsGodCustomerService"/>
        </menu_item_call>
    <menu_item_call
		 label="Dump XML"
         name="Dump XML">
            <menu_item_call.on_click
             function="Advanced.AppearanceToXML" />
            <menu_item_call.on_visible
             function="Advanced.EnableAppearanceToXML"/>
    </menu_item_call>
      <menu_item_call
         label="Invite to Group"
         name="Invite...">
      <menu_item_call.on_click
         function="Avatar.InviteToGroup" />
        <menu_item_call.on_enable
         function="RLV.CanShowName" />
      </menu_item_call>
	    <menu_item_call
         label="Zoom In"
          name="Zoom In">
        <menu_item_call.on_click
           function="Tools.LookAtSelection"
           parameter="zoom" />
    </menu_item_call>
   <menu_item_separator />
   <menu_item_call
       label="Object Profile"
       name="Object Inspect">
         <menu_item_call.on_click
          function="Object.Inspect" />
         <menu_item_call.on_enable
          function="Object.EnableInspect" />
   </menu_item_call>
   <menu_item_call
       label="Inspect"
       name="Object Inspect Floater">
         <menu_item_call.on_click
          function="Floater.Show"
          parameter="inspect" />
         <menu_item_call.on_enable
          function="Object.EnableInspect" />
   </menu_item_call>

      <menu_item_separator
       layout="topleft" name="Impostor seperator"/>
      <context_menu
       label="Render Avatar"
       layout="topleft"
        name="Render Avatar">
      <menu_item_check
        name="RenderNormally"
        label="Default">
        <menu_item_check.on_check
          function="Avatar.CheckImpostorMode"
          parameter="0" />
	    <menu_item_check.on_click
	      function="Avatar.SetImpostorMode"
	      parameter="0" />
      </menu_item_check>
      <menu_item_check
        name="AlwaysRenderFully"
        label="Always">
        <menu_item_check.on_check
          function="Avatar.CheckImpostorMode"
          parameter="2" />
	    <menu_item_check.on_click
	      function="Avatar.SetImpostorMode"
	      parameter="2" />
      </menu_item_check>
      <menu_item_check
        name="DoNotRender"
        label="Never">
        <menu_item_check.on_check
          function="Avatar.CheckImpostorMode"
          parameter="1" />
	    <menu_item_check.on_click
	      function="Avatar.SetImpostorMode"
	      parameter="1" />
      </menu_item_check>
      <menu_item_separator />
      <menu_item_call
        label="Exceptions..."
        name="RenderExceptions">
        <menu_item_call.on_click
          function="View.Blocked"
          parameter="avatar_rendering_tab" />
      </menu_item_call>
      </context_menu>

    <context_menu
     label="Fix Avatar"
     layout="topleft"
     name="Fix Avatar">
        <menu_item_call
          label="Refresh Textures"
          layout="topleft"
          name="Refresh Textures">
           <menu_item_call.on_click
            function="Avatar.RefreshTextures"/>
        </menu_item_call>
        <menu_item_call
         label="Sync Animations"
         name="Sync Animations">
            <menu_item_call.on_click
             function="Avatar.RestartAnimations" />
        </menu_item_call>
        <menu_item_separator/>
        <menu_item_call
         label="Reset Skeleton"
         layout="topleft"
         name="Reset Skeleton">
            <menu_item_call.on_click
             function="Avatar.ResetSkeleton" />
        </menu_item_call>
        <menu_item_call
         label="Reset Skeleton &amp; Animations"
         layout="topleft"
         name="Reset Skeleton And Animations">
            <menu_item_call.on_click
             function="Avatar.ResetSkeletonAndAnimations" />
        </menu_item_call>
    </context_menu>

  <menu_item_separator
     layout="topleft" on_visible.function="EnableMuteParticle" />

  <menu_item_call
     label="View chat history..."
     name="chat_history">
    <menu_item_call.on_click
     function="Avatar.ShowChatHistory" />
    <menu_item_call.on_enable
     function="Avatar.EnableChatHistory" />
  </menu_item_call>
  <menu_item_call
     label="Block Particle Owner"
     name="Mute Particle">
    <menu_item_call.on_click
     function="Particle.Mute" />
    <menu_item_call.on_visible
     function="EnableMuteParticle" />
  </menu_item_call>
</context_menu>
