Extensive work on building, wearables, assets, inventory, attachments, serialization, etc.

Resolves #36
This commit is contained in:
Casper Warden
2020-11-19 16:51:14 +00:00
parent 7b41239a39
commit 2ff00a30f8
58 changed files with 6659 additions and 2228 deletions

View File

@@ -1,44 +1,64 @@
export enum AttachmentPoint
{
Default = 0,
Chest = 1,
Skull,
LeftShoulder,
RightShoulder,
LeftHand,
RightHand,
LeftFoot,
RightFoot,
Spine,
Pelvis,
Mouth,
Chin,
LeftEar,
RightEar,
LeftEyeball,
RightEyeball,
Nose,
RightUpperArm,
RightForearm,
LeftUpperArm,
LeftForearm,
RightHip,
RightUpperLeg,
RightLowerLeg,
LeftHip,
LeftUpperLeg,
LeftLowerLeg,
Stomach,
LeftPec,
RightPec,
HUDCenter2,
HUDTopRight,
HUDTop,
HUDTopLeft,
HUDCenter,
HUDBottomLeft,
HUDBottom,
HUDBottomRight,
Neck,
Root
Chest = 1, // FS: Chest
Skull, // FS: Skull
LeftShoulder, // FS: Left Shoulder
RightShoulder, // FS: Right Shoulder
LeftHand, // FS: Left Hand
RightHand, // FS: Right Hand
LeftFoot, // FS: Left Foot
RightFoot, // FS: Right Root
Spine, // FS: Spine
Pelvis, // FS: Pelvis
Mouth, // FS: Mouth
Chin, // FS: Chin
LeftEar, // FS: Left Ear
RightEar, // FS: Right Ear
LeftEyeball, // FS: Left Eyeball
RightEyeball, // FS: Right Eyeball
Nose, // FS: Nose
RightUpperArm, // FS: R Upper Arm
RightForearm, // FS: R Forearm
LeftUpperArm, // FS: L Upper Arm
LeftForearm, // FS: L Forearm
RightHip, // FS: Right Hip
RightUpperLeg, // FS: R Upper Leg
RightLowerLeg, // FS: R Lower Leg
LeftHip, // FS: Left Hip
LeftUpperLeg, // FS: L Upper Leg
LeftLowerLeg, // FS: L Lower Leg
Stomach, // FS: Stomach
LeftPec, // FS: Left Pec
RightPec, // FS: Right Pec
// Private/HUD attachments
HUDCenter2, // FS: Center 2
HUDTopRight, // FS: Top Right
HUDTop, // FS: Top
HUDTopLeft, // FS: Top Left
HUDCenter, // FS: Center
HUDBottomLeft, // FS: Bottom Left
HUDBottom, // FS: Bottom
HUDBottomRight, // FS: Bottom Right
// Extras
Neck, // FS: Neck
Root = 40, // FS: Avatar Center
Center = 40,
LefHandRing1 = 41, // FS: Left Ring Finger
RightHandRing1 = 42, // FS: Right Ring Finger
TailBase = 43, // FS: Tail Base
TailTip = 44, // FS: Tail Tip
LeftWing = 45, // FS: Left Wing
RightWing = 46, // FS: Right Wing
FaceJaw = 47, // FS: Jaw
FaceLeftEar = 48, // FS: Alt Left Ear
FaceRightEar = 49, // FS: Alt Right Ear
FaceLeftEye = 50, // FS: Alt Left Eye
FaceRightEye = 51, // FS: Alt Right Eye
FaceTongue = 52, // FS: Tongue
Groin = 53, // FS: Groin
HindLeftFoot = 54, // FS: Left Hind Foot
HindRightFoot = 55 // FS: Right Hind Foot
}

View File

@@ -23,5 +23,5 @@ export enum InventoryType
Wearable = 18,
Animation = 19,
Gesture = 20,
Mesh = 22,
Mesh = 22
}

View File

@@ -1,18 +0,0 @@
export enum InventoryTypeLL
{
texture = 0,
sound = 1,
callcard = 2,
landmark = 3,
object = 6,
notecard = 7,
category = 8,
root = 9,
script = 10,
snapshot = 15,
attach = 17,
wearable = 18,
animation = 19,
gesture = 20,
mesh = 22
}

View File

@@ -0,0 +1,5 @@
export enum LLGestureAnimationFlags
{
None = 0,
Stop = 1
}

View File

@@ -0,0 +1,4 @@
export enum LLGestureChatFlags
{
None = 0
}

View File

@@ -0,0 +1,4 @@
export enum LLGestureSoundFlags
{
None = 0
}

View File

@@ -0,0 +1,7 @@
export enum LLGestureStepType
{
Animation = 0,
Sound = 1,
Chat = 2,
Wait = 3
}

View File

@@ -0,0 +1,6 @@
export enum LLGestureWaitFlags
{
None = 0,
Time = 1,
AllAnim = 2
}

View File

@@ -32,5 +32,5 @@ export enum ParcelFlags
AllowGroupObjectEntry = 1 << 28,
AllowVoiceChat = 1 << 29,
UseEstateVoiceChan = 1 << 30,
DenyAgeUnverified = 1 << 31
}
DenyAgeUnverified = 2147483648
};