using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; using Verse; namespace Rimworld_Animations { public class Actor : IExposable { public List defNames; public List requiredGenitals; public List raceOffsets; public List blacklistedRaces; public bool initiator = false; public string gender; public bool isFucking = false; public bool isFucked = false; public bool controlGenitalAngle = false; public BodyTypeOffset bodyTypeOffset = new BodyTypeOffset(); public Vector3 offset = new Vector2(0, 0); public Dictionary offsetsByDefName = new Dictionary(); public Dictionary rotationByDefName = new Dictionary(); public void ExposeData() { Scribe_Collections.Look(ref offsetsByDefName, "OffsetsSetInOptions", LookMode.Value, LookMode.Value); Scribe_Collections.Look(ref rotationByDefName, "RotationOffsetsFromOptions", LookMode.Value, LookMode.Value); } } }