[Opensim-dev] Folder numbers

Kevin Cozens kevin at ve3syb.ca
Sun Aug 9 14:54:33 UTC 2015


On 15-08-09 10:15 AM, Diva Canto wrote:
> I've now committed the new version of libomv with the inventory code
> changes, and the necessary changes in OpenSim that use those new enums and
> codes.
[snip]
> If you have a web interface, plugin or external tool that touches inventory
> folders, please follow the codes in the *FolderType* enum.
[snip]
>      public enum FolderType : sbyte
>      {
[snip]
>          /// <summary>The root folder type</summary>
>          Root = 8,
>          /// <summary>LSLText folder</summary>
>          LSLText = 10,
>      }
[snip]
>      public enum AssetType : sbyte
>      {
>          /// <summary>Holds a collection of inventory items. "Category" in
> the Linden viewer</summary>
>          Folder = 8,
>          /// <summary>Linden scripting language script</summary>
>          LSLText = 10,
[snip]
>      }

I think it would be a good idea to leave a comment line in both structures 
to say why there is no longer an entry for 9. State it is a deprecated value?

Is the value of 9 used for anything in Second Life?

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/           |"Nerds make the shiny things that distract
Owner of Elecraft K2 #2172      | the mouth-breathers, and that's why we're
                                 | powerful!"
#include <disclaimer/favourite> |             --Chris Hardwick


More information about the Opensim-dev mailing list