mirror of
https://github.com/TechplexEngineer/plexview.git
synced 2026-07-28 15:17:05 +00:00
Initial commit
I wish I could figure out how to have PlexVie be out of the LibOMV tree but its just not working die to a DLL not found exception about libopenjpeg. (Yes the dll is in the bin folder) This will do for now
This commit is contained in:
@@ -0,0 +1,254 @@
|
||||
/*
|
||||
* Copyright (c) 2006-2014, openmetaverse.org
|
||||
* All rights reserved.
|
||||
*
|
||||
* - Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
* - Neither the name of the openmetaverse.org nor the names
|
||||
* of its contributors may be used to endorse or promote products derived from
|
||||
* this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System;
|
||||
|
||||
namespace OpenMetaverse
|
||||
{
|
||||
/// <summary>
|
||||
/// Attribute class that allows extra attributes to be attached to ENUMs
|
||||
/// </summary>
|
||||
public class EnumInfoAttribute : Attribute
|
||||
{
|
||||
/// <summary>Text used when presenting ENUM to user</summary>
|
||||
public string Text = string.Empty;
|
||||
|
||||
/// <summary>Default initializer</summary>
|
||||
public EnumInfoAttribute() { }
|
||||
|
||||
/// <summary>Text used when presenting ENUM to user</summary>
|
||||
public EnumInfoAttribute(string text)
|
||||
{
|
||||
this.Text = text;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The different types of grid assets
|
||||
/// </summary>
|
||||
public enum AssetType : sbyte
|
||||
{
|
||||
/// <summary>Unknown asset type</summary>
|
||||
Unknown = -1,
|
||||
/// <summary>Texture asset, stores in JPEG2000 J2C stream format</summary>
|
||||
Texture = 0,
|
||||
/// <summary>Sound asset</summary>
|
||||
Sound = 1,
|
||||
/// <summary>Calling card for another avatar</summary>
|
||||
CallingCard = 2,
|
||||
/// <summary>Link to a location in world</summary>
|
||||
Landmark = 3,
|
||||
// <summary>Legacy script asset, you should never see one of these</summary>
|
||||
//[Obsolete]
|
||||
//Script = 4,
|
||||
/// <summary>Collection of textures and parameters that can be
|
||||
/// worn by an avatar</summary>
|
||||
Clothing = 5,
|
||||
/// <summary>Primitive that can contain textures, sounds,
|
||||
/// scripts and more</summary>
|
||||
Object = 6,
|
||||
/// <summary>Notecard asset</summary>
|
||||
Notecard = 7,
|
||||
/// <summary>Holds a collection of inventory items</summary>
|
||||
Folder = 8,
|
||||
/// <summary>Root inventory folder</summary>
|
||||
RootFolder = 9,
|
||||
/// <summary>Linden scripting language script</summary>
|
||||
LSLText = 10,
|
||||
/// <summary>LSO bytecode for a script</summary>
|
||||
LSLBytecode = 11,
|
||||
/// <summary>Uncompressed TGA texture</summary>
|
||||
TextureTGA = 12,
|
||||
/// <summary>Collection of textures and shape parameters that can
|
||||
/// be worn</summary>
|
||||
Bodypart = 13,
|
||||
/// <summary>Trash folder</summary>
|
||||
TrashFolder = 14,
|
||||
/// <summary>Snapshot folder</summary>
|
||||
SnapshotFolder = 15,
|
||||
/// <summary>Lost and found folder</summary>
|
||||
LostAndFoundFolder = 16,
|
||||
/// <summary>Uncompressed sound</summary>
|
||||
SoundWAV = 17,
|
||||
/// <summary>Uncompressed TGA non-square image, not to be used as a
|
||||
/// texture</summary>
|
||||
ImageTGA = 18,
|
||||
/// <summary>Compressed JPEG non-square image, not to be used as a
|
||||
/// texture</summary>
|
||||
ImageJPEG = 19,
|
||||
/// <summary>Animation</summary>
|
||||
Animation = 20,
|
||||
/// <summary>Sequence of animations, sounds, chat, and pauses</summary>
|
||||
Gesture = 21,
|
||||
/// <summary>Simstate file</summary>
|
||||
Simstate = 22,
|
||||
/// <summary>Contains landmarks for favorites</summary>
|
||||
FavoriteFolder = 23,
|
||||
/// <summary>Asset is a link to another inventory item</summary>
|
||||
Link = 24,
|
||||
/// <summary>Asset is a link to another inventory folder</summary>
|
||||
LinkFolder = 25,
|
||||
/// <summary>Beginning of the range reserved for ensembles</summary>
|
||||
EnsembleStart = 26,
|
||||
/// <summary>End of the range reserved for ensembles</summary>
|
||||
EnsembleEnd = 45,
|
||||
/// <summary>Folder containing inventory links to wearables and attachments
|
||||
/// that are part of the current outfit</summary>
|
||||
CurrentOutfitFolder = 46,
|
||||
/// <summary>Folder containing inventory items or links to
|
||||
/// inventory items of wearables and attachments
|
||||
/// together make a full outfit</summary>
|
||||
OutfitFolder = 47,
|
||||
/// <summary>Root folder for the folders of type OutfitFolder</summary>
|
||||
MyOutfitsFolder = 48,
|
||||
/// <summary>Linden mesh format</summary>
|
||||
Mesh = 49,
|
||||
/// <summary>Marketplace direct delivery inbox ("Received Items")</summary>
|
||||
Inbox = 50,
|
||||
/// <summary>Marketplace direct delivery outbox</summary>
|
||||
Outbox = 51,
|
||||
/// <summary></summary>
|
||||
BasicRoot = 51,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Inventory Item Types, eg Script, Notecard, Folder, etc
|
||||
/// </summary>
|
||||
public enum InventoryType : sbyte
|
||||
{
|
||||
/// <summary>Unknown</summary>
|
||||
Unknown = -1,
|
||||
/// <summary>Texture</summary>
|
||||
Texture = 0,
|
||||
/// <summary>Sound</summary>
|
||||
Sound = 1,
|
||||
/// <summary>Calling Card</summary>
|
||||
CallingCard = 2,
|
||||
/// <summary>Landmark</summary>
|
||||
Landmark = 3,
|
||||
/*
|
||||
/// <summary>Script</summary>
|
||||
//[Obsolete("See LSL")] Script = 4,
|
||||
/// <summary>Clothing</summary>
|
||||
//[Obsolete("See Wearable")] Clothing = 5,
|
||||
/// <summary>Object, both single and coalesced</summary>
|
||||
*/
|
||||
Object = 6,
|
||||
/// <summary>Notecard</summary>
|
||||
Notecard = 7,
|
||||
/// <summary></summary>
|
||||
Category = 8,
|
||||
/// <summary>Folder</summary>
|
||||
Folder = 8,
|
||||
/// <summary></summary>
|
||||
RootCategory = 9,
|
||||
/// <summary>an LSL Script</summary>
|
||||
LSL = 10,
|
||||
/*
|
||||
/// <summary></summary>
|
||||
//[Obsolete("See LSL")] LSLBytecode = 11,
|
||||
/// <summary></summary>
|
||||
//[Obsolete("See Texture")] TextureTGA = 12,
|
||||
/// <summary></summary>
|
||||
//[Obsolete] Bodypart = 13,
|
||||
/// <summary></summary>
|
||||
//[Obsolete] Trash = 14,
|
||||
*/
|
||||
/// <summary></summary>
|
||||
Snapshot = 15,
|
||||
/*
|
||||
/// <summary></summary>
|
||||
//[Obsolete] LostAndFound = 16,
|
||||
*/
|
||||
/// <summary></summary>
|
||||
Attachment = 17,
|
||||
/// <summary></summary>
|
||||
Wearable = 18,
|
||||
/// <summary></summary>
|
||||
Animation = 19,
|
||||
/// <summary></summary>
|
||||
Gesture = 20,
|
||||
|
||||
/// <summary></summary>
|
||||
Mesh = 22,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Item Sale Status
|
||||
/// </summary>
|
||||
public enum SaleType : byte
|
||||
{
|
||||
/// <summary>Not for sale</summary>
|
||||
Not = 0,
|
||||
/// <summary>The original is for sale</summary>
|
||||
Original = 1,
|
||||
/// <summary>Copies are for sale</summary>
|
||||
Copy = 2,
|
||||
/// <summary>The contents of the object are for sale</summary>
|
||||
Contents = 3
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Types of wearable assets
|
||||
/// </summary>
|
||||
public enum WearableType : byte
|
||||
{
|
||||
/// <summary>Body shape</summary>
|
||||
Shape = 0,
|
||||
/// <summary>Skin textures and attributes</summary>
|
||||
Skin,
|
||||
/// <summary>Hair</summary>
|
||||
Hair,
|
||||
/// <summary>Eyes</summary>
|
||||
Eyes,
|
||||
/// <summary>Shirt</summary>
|
||||
Shirt,
|
||||
/// <summary>Pants</summary>
|
||||
Pants,
|
||||
/// <summary>Shoes</summary>
|
||||
Shoes,
|
||||
/// <summary>Socks</summary>
|
||||
Socks,
|
||||
/// <summary>Jacket</summary>
|
||||
Jacket,
|
||||
/// <summary>Gloves</summary>
|
||||
Gloves,
|
||||
/// <summary>Undershirt</summary>
|
||||
Undershirt,
|
||||
/// <summary>Underpants</summary>
|
||||
Underpants,
|
||||
/// <summary>Skirt</summary>
|
||||
Skirt,
|
||||
/// <summary>Alpha mask to hide parts of the avatar</summary>
|
||||
Alpha,
|
||||
/// <summary>Tattoo</summary>
|
||||
Tattoo,
|
||||
/// <summary>Physics</summary>
|
||||
Physics,
|
||||
/// <summary>Invalid wearable asset</summary>
|
||||
Invalid = 255
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user