119 lines
3.6 KiB
C#
119 lines
3.6 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Avatars.Face;
|
|
using RecRoom.Core.Imposters;
|
|
using RecRoom.Players;
|
|
using UnityEngine;
|
|
using UnityEngine.Rendering;
|
|
|
|
namespace RecRoom.Avatars.Poseable.Editor
|
|
{
|
|
// Token: 0x020023C0 RID: 9152
|
|
[Token(Token = "0x20023C0")]
|
|
public class PoseableAvatarAuthoringScene : MonoBehaviour
|
|
{
|
|
// Token: 0x1700265C RID: 9820
|
|
// (get) Token: 0x0600EBEB RID: 60395 RVA: 0x003649DC File Offset: 0x00362BDC
|
|
[Token(Token = "0x1700265C")]
|
|
public PoseableAvatarAuthoringDummy LONIEGFBJAP
|
|
{
|
|
[Token(Token = "0x600EBEB")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
|
get
|
|
{
|
|
return this.poseableDummy;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700265D RID: 9821
|
|
// (get) Token: 0x0600EBEC RID: 60396 RVA: 0x003649F0 File Offset: 0x00362BF0
|
|
[Token(Token = "0x1700265D")]
|
|
public PoseableAvatarAuthoringLighting AJFDNKAEMAB
|
|
{
|
|
[Token(Token = "0x600EBEC")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
|
get
|
|
{
|
|
return this.lighting;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700265E RID: 9822
|
|
// (get) Token: 0x0600EBED RID: 60397 RVA: 0x00364A04 File Offset: 0x00362C04
|
|
[Token(Token = "0x1700265E")]
|
|
public PoseableAvatarAuthoringCamera CFLLOJAGFGD
|
|
{
|
|
[Token(Token = "0x600EBED")]
|
|
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
|
|
get
|
|
{
|
|
return this.cameraRig;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EBEE RID: 60398 RVA: 0x00364A18 File Offset: 0x00362C18
|
|
[Token(Token = "0x600EBEE")]
|
|
[Address(RVA = "0xF284A0", Offset = "0xF272A0", VA = "0x180F284A0")]
|
|
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: 0x0600EBEF RID: 60399 RVA: 0x00364AC4 File Offset: 0x00362CC4
|
|
[Token(Token = "0x600EBEF")]
|
|
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
|
|
public PoseableAvatarAuthoringScene()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04009BEC RID: 39916
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4009BEC")]
|
|
[SerializeField]
|
|
private PoseableAvatarAuthoringDummy poseableDummy;
|
|
|
|
// Token: 0x04009BED RID: 39917
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4009BED")]
|
|
[SerializeField]
|
|
private PoseableAvatarAuthoringLighting lighting;
|
|
|
|
// Token: 0x04009BEE RID: 39918
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4009BEE")]
|
|
[SerializeField]
|
|
private PoseableAvatarAuthoringCamera cameraRig;
|
|
}
|
|
}
|