rimworld-animations/Source/Actors/Actor.cs

32 lines
1.2 KiB
C#
Raw Normal View History

2020-04-09 00:43:01 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
2020-05-30 06:10:31 +00:00
using Verse;
2020-04-09 00:43:01 +00:00
namespace Rimworld_Animations {
2020-05-30 06:10:31 +00:00
public class Actor : IExposable {
2020-04-09 00:43:01 +00:00
public List<string> defNames;
public List<string> requiredGenitals;
2020-04-18 16:49:03 +00:00
public List<AlienRaceOffset> raceOffsets;
2020-04-23 00:09:24 +00:00
public List<string> blacklistedRaces;
public bool initiator = false;
2020-04-09 00:43:01 +00:00
public string gender;
public bool isFucking = false;
public bool isFucked = false;
public bool controlGenitalAngle = false;
2020-05-09 01:19:38 +00:00
public BodyTypeOffset bodyTypeOffset = new BodyTypeOffset();
2020-04-28 03:34:30 +00:00
public Vector3 offset = new Vector2(0, 0);
2020-05-30 06:10:31 +00:00
public Dictionary<string, Vector2> offsetsByDefName = new Dictionary<string, Vector2>();
public Dictionary<string, float> rotationByDefName = new Dictionary<string, float>();
2020-05-30 06:10:31 +00:00
public void ExposeData() {
Scribe_Collections.Look(ref offsetsByDefName, "OffsetsSetInOptions", LookMode.Value, LookMode.Value);
Scribe_Collections.Look(ref rotationByDefName, "RotationOffsetsFromOptions", LookMode.Value, LookMode.Value);
2020-05-30 06:10:31 +00:00
}
2020-04-09 00:43:01 +00:00
}
}