scripts
This commit is contained in:
@@ -0,0 +1,119 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.Avatar.Face;
|
||||
using RecRoom.Core.Imposters;
|
||||
using RecRoom.Players;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Rendering;
|
||||
|
||||
namespace RecRoom.Avatar.Poseable.Editor
|
||||
{
|
||||
// Token: 0x020021A5 RID: 8613
|
||||
[Token(Token = "0x20021A5")]
|
||||
[StructLayout(3)]
|
||||
public class PoseableAvatarAuthoringScene : MonoBehaviour
|
||||
{
|
||||
// Token: 0x170027C7 RID: 10183
|
||||
// (get) Token: 0x0600ED60 RID: 60768 RVA: 0x00384938 File Offset: 0x00382B38
|
||||
[Token(Token = "0x170027C7")]
|
||||
public PoseableAvatarAuthoringDummy LONIEGFBJAP
|
||||
{
|
||||
[Token(Token = "0x600ED60")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.poseableDummy;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170027C8 RID: 10184
|
||||
// (get) Token: 0x0600ED61 RID: 60769 RVA: 0x0038494C File Offset: 0x00382B4C
|
||||
[Token(Token = "0x170027C8")]
|
||||
public PoseableAvatarAuthoringLighting AJFDNKAEMAB
|
||||
{
|
||||
[Token(Token = "0x600ED61")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.lighting;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170027C9 RID: 10185
|
||||
// (get) Token: 0x0600ED62 RID: 60770 RVA: 0x00384960 File Offset: 0x00382B60
|
||||
[Token(Token = "0x170027C9")]
|
||||
public PoseableAvatarAuthoringCamera CFLLOJAGFGD
|
||||
{
|
||||
[Token(Token = "0x600ED62")]
|
||||
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230")]
|
||||
get
|
||||
{
|
||||
return this.cameraRig;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600ED63 RID: 60771 RVA: 0x00384974 File Offset: 0x00382B74
|
||||
[Token(Token = "0x600ED63")]
|
||||
[Address(RVA = "0x173D170", Offset = "0x173BB70", VA = "0x18173D170")]
|
||||
public void Initialize([Optional] PoseableAvatarAsset HHKIMJKADNG)
|
||||
{
|
||||
PoseableAvatarAuthoringDummy poseableAvatarAuthoringDummy = this.poseableDummy;
|
||||
PoseableAvatarAuthoringFace face = poseableAvatarAuthoringDummy.face;
|
||||
poseableAvatarAuthoringDummy.LHECBPFGEMH = this;
|
||||
PlayerFacialAnimator facialAnimator = face.facialAnimator;
|
||||
int num = 0;
|
||||
facialAnimator.LocalPlayEmote(PlayerEmotes.MGIGFNJOGEM.Flat, (float)num);
|
||||
int num2 = 0;
|
||||
int num3 = 0;
|
||||
if (HHKIMJKADNG != num3)
|
||||
{
|
||||
poseableAvatarAuthoringDummy.NEPEMCDIOJJ(HHKIMJKADNG);
|
||||
}
|
||||
PoseableAvatarAuthoringLighting poseableAvatarAuthoringLighting = this.lighting;
|
||||
if (HHKIMJKADNG != 0)
|
||||
{
|
||||
}
|
||||
poseableAvatarAuthoringLighting.LHECBPFGEMH = this;
|
||||
RenderSettings.ambientMode = AmbientMode.Trilight;
|
||||
int num4 = 0;
|
||||
if (num2 != num4)
|
||||
{
|
||||
poseableAvatarAuthoringLighting.FromLightingConfig(num2);
|
||||
}
|
||||
PoseableAvatarAuthoringCamera poseableAvatarAuthoringCamera = this.cameraRig;
|
||||
ImposterRenderConfig renderConfiguration;
|
||||
if (HHKIMJKADNG != 0)
|
||||
{
|
||||
renderConfiguration = HHKIMJKADNG.RenderConfiguration;
|
||||
}
|
||||
poseableAvatarAuthoringCamera.LHECBPFGEMH = this;
|
||||
poseableAvatarAuthoringCamera.PGLBIBAFLMK(renderConfiguration);
|
||||
}
|
||||
|
||||
// Token: 0x0600ED64 RID: 60772 RVA: 0x00384A20 File Offset: 0x00382C20
|
||||
[Token(Token = "0x600ED64")]
|
||||
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
||||
public PoseableAvatarAuthoringScene()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04009D9B RID: 40347
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4009D9B")]
|
||||
[SerializeField]
|
||||
private PoseableAvatarAuthoringDummy poseableDummy;
|
||||
|
||||
// Token: 0x04009D9C RID: 40348
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4009D9C")]
|
||||
[SerializeField]
|
||||
private PoseableAvatarAuthoringLighting lighting;
|
||||
|
||||
// Token: 0x04009D9D RID: 40349
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4009D9D")]
|
||||
[SerializeField]
|
||||
private PoseableAvatarAuthoringCamera cameraRig;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user