mirror of
https://gitgud.io/ll.mirrors/sizedapparel.git
synced 2024-08-15 00:43:40 +00:00
Mirror of 0.93.0 from Lovers Lab
This commit is contained in:
parent
b7e3e9d0c5
commit
161133e4e1
2069 changed files with 8926 additions and 92 deletions
37
source/SizedApparel/SizedAppareIdeoPatch.cs
Normal file
37
source/SizedApparel/SizedAppareIdeoPatch.cs
Normal file
|
@ -0,0 +1,37 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using RimWorld;
|
||||
using Verse;
|
||||
using HarmonyLib;
|
||||
using UnityEngine;
|
||||
using rjw;
|
||||
|
||||
|
||||
namespace SizedApparel
|
||||
{
|
||||
//IdeoUIUtility.DoAppearanceItems
|
||||
[HarmonyPatch(typeof(IdeoUIUtility), "DoAppearanceItems")]
|
||||
static class SizedApparAppearanceUIPatch
|
||||
{
|
||||
//Todo: Use Transpiler
|
||||
static public void oldPostfix(Ideo ideo, IdeoEditMode editMode, ref float curY, float width)
|
||||
{
|
||||
//DrawPubicBlox()
|
||||
Rect rect = new Rect(4f, curY, IdeoUIUtility.PreceptBoxSize.x, IdeoUIUtility.PreceptBoxSize.y);
|
||||
Widgets.DrawRectFast(rect, IdeoUIUtility.GetBackgroundColor(PreceptImpact.Medium), null);
|
||||
string text = "PubicHair".Translate();
|
||||
}
|
||||
|
||||
static void DrawPubicBox(float xOffset, float y, StyleItemTab tab, StyleItemDef defToDisplay)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue