Files
27Aug2021-Cpp2IL-Dump/Assembly-CSharp/RRUI/InventionsConfig.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

264 lines
8.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
using RRUI.Data;
using TMPro;
using UnityEngine;
namespace RRUI
{
// Token: 0x0200079A RID: 1946
[Token(Token = "0x200079A")]
[CreateAssetMenu]
public class InventionsConfig : ScriptableObject
{
// Token: 0x17000971 RID: 2417
// (get) Token: 0x06003795 RID: 14229 RVA: 0x000E77FC File Offset: 0x000E59FC
[Token(Token = "0x17000971")]
public static InventionsConfig Instance
{
[Token(Token = "0x6003795")]
[Address(RVA = "0x1E6CA30", Offset = "0x1E6BA30", VA = "0x181E6CA30")]
get
{
InventionsConfig instance = InventionsConfig._instance;
int num = 0;
if (!(instance != num))
{
InventionsConfig._instance = OLJIOKGMCPN.MNKDOANEFLK<InventionsConfig>(0);
InventionsConfig instance2 = InventionsConfig._instance;
int num2 = 0;
if (instance2 == num2)
{
Debug.LogError("Failed to load Inventions object");
}
}
return InventionsConfig._instance;
}
}
// Token: 0x17000972 RID: 2418
// (get) Token: 0x06003796 RID: 14230 RVA: 0x000E7848 File Offset: 0x000E5A48
[Token(Token = "0x17000972")]
public List<InventionsConfig.InventionReportCategoryFriendlyNameMapping> InventionReportCategoryList
{
[Token(Token = "0x6003796")]
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
get
{
return this.inventionReportCategoryList;
}
}
// Token: 0x06003797 RID: 14231 RVA: 0x000E785C File Offset: 0x000E5A5C
[Token(Token = "0x6003797")]
[Address(RVA = "0x1E6C320", Offset = "0x1E6B320", VA = "0x181E6C320")]
public string HFNIMFAOFJL(HECIICKPCDN FEIIKGIHEBN)
{
Dictionary<HECIICKPCDN, string> inventionPermissionTypeFriendlyNameMapping = this.InventionPermissionTypeFriendlyNameMapping;
throw new NullReferenceException();
}
// Token: 0x06003798 RID: 14232 RVA: 0x000E7890 File Offset: 0x000E5A90
[Token(Token = "0x6003798")]
[Address(RVA = "0x1E6C3B0", Offset = "0x1E6B3B0", VA = "0x181E6C3B0")]
public void OBAJPBACBIC(out List<InventionsConfig.InventionSortFriendlyNameMapping> MPKFLMDODBO, out List<TMP_Dropdown.OptionData> FAIIFLGONJC)
{
List<InventionsConfig.InventionSortFriendlyNameMapping> inventionSortCriteriaMetadata = this.InventionSortCriteriaMetadata;
Func<InventionsConfig.InventionSortFriendlyNameMapping, InventionsConfig.IJEBAJLMDGP> <>9__12_ = InventionsConfig.<>c.<>9__12_0;
if (<>9__12_ == 0)
{
InventionsConfig.<>c.<>9__12_0 = delegate(InventionsConfig.InventionSortFriendlyNameMapping sc)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
};
}
List<InventionsConfig.InventionSortFriendlyNameMapping> list = Enumerable.ToList<InventionsConfig.InventionSortFriendlyNameMapping>(Enumerable.OrderBy<InventionsConfig.InventionSortFriendlyNameMapping, InventionsConfig.IJEBAJLMDGP>(inventionSortCriteriaMetadata, <>9__12_));
MPKFLMDODBO._items = list;
Func<InventionsConfig.InventionSortFriendlyNameMapping, TMP_Dropdown.OptionData> func;
if (InventionsConfig.<>c.<>9__12_1 == 0)
{
func = delegate(InventionsConfig.InventionSortFriendlyNameMapping m)
{
TMP_Dropdown.OptionData optionData;
return optionData;
};
InventionsConfig.<>c.<>9__12_1 = func;
}
List<TMP_Dropdown.OptionData> list2 = Enumerable.ToList<TMP_Dropdown.OptionData>(Enumerable.Select<InventionsConfig.InventionSortFriendlyNameMapping, TMP_Dropdown.OptionData>(list, func));
FAIIFLGONJC._items = list2;
}
// Token: 0x06003799 RID: 14233 RVA: 0x000E790C File Offset: 0x000E5B0C
[Token(Token = "0x6003799")]
[Address(RVA = "0x1E6C590", Offset = "0x1E6B590", VA = "0x181E6C590")]
public string OPBOLMAGHOO(InventionListModel.DEEJFPHCCPF DIEPOPNJNCO)
{
Func<InventionsConfig.InventionSourceFriendlyNameMapping, bool> func = delegate(InventionsConfig.InventionSourceFriendlyNameMapping rs)
{
bool flag;
return flag;
};
InventionsConfig.InventionSourceFriendlyNameMapping inventionSourceFriendlyNameMapping;
if (inventionSourceFriendlyNameMapping == 0)
{
}
throw new NullReferenceException();
}
// Token: 0x0600379A RID: 14234 RVA: 0x000E7940 File Offset: 0x000E5B40
[Token(Token = "0x600379A")]
[Address(RVA = "0x1E6C660", Offset = "0x1E6B660", VA = "0x181E6C660")]
public InventionsConfig()
{
Dictionary<HECIICKPCDN, string> dictionary = new Dictionary();
throw new NullReferenceException();
}
// Token: 0x04002F6E RID: 12142
[Token(Token = "0x4002F6E")]
private static InventionsConfig _instance;
// Token: 0x04002F6F RID: 12143
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4002F6F")]
private Dictionary<HECIICKPCDN, string> InventionPermissionTypeFriendlyNameMapping;
// Token: 0x04002F70 RID: 12144
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4002F70")]
[SerializeField]
[Header("Invention Report Category List")]
private List<InventionsConfig.InventionReportCategoryFriendlyNameMapping> inventionReportCategoryList;
// Token: 0x04002F71 RID: 12145
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4002F71")]
[SerializeField]
[Header("Invention List")]
private List<InventionsConfig.InventionSortFriendlyNameMapping> InventionSortCriteriaMetadata;
// Token: 0x04002F72 RID: 12146
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4002F72")]
[SerializeField]
private List<InventionsConfig.InventionSourceFriendlyNameMapping> InventionSourceCriteriaMetadata;
// Token: 0x0200079B RID: 1947
[Token(Token = "0x200079B")]
public enum IJEBAJLMDGP
{
// Token: 0x04002F74 RID: 12148
[Token(Token = "0x4002F74")]
CreationDate_Desc,
// Token: 0x04002F75 RID: 12149
[Token(Token = "0x4002F75")]
CreationDate_Asc,
// Token: 0x04002F76 RID: 12150
[Token(Token = "0x4002F76")]
Name_Asc,
// Token: 0x04002F77 RID: 12151
[Token(Token = "0x4002F77")]
Name_Desc,
// Token: 0x04002F78 RID: 12152
[Token(Token = "0x4002F78")]
Downloads_Asc,
// Token: 0x04002F79 RID: 12153
[Token(Token = "0x4002F79")]
Downloads_Desc,
// Token: 0x04002F7A RID: 12154
[Token(Token = "0x4002F7A")]
Cheers_Asc,
// Token: 0x04002F7B RID: 12155
[Token(Token = "0x4002F7B")]
Cheers_Desc,
// Token: 0x04002F7C RID: 12156
[Token(Token = "0x4002F7C")]
Price_Asc,
// Token: 0x04002F7D RID: 12157
[Token(Token = "0x4002F7D")]
Price_Desc,
// Token: 0x04002F7E RID: 12158
[Token(Token = "0x4002F7E")]
Default
}
// Token: 0x0200079C RID: 1948
[Token(Token = "0x200079C")]
[Serializable]
public struct InventionReportCategoryFriendlyNameMapping
{
// Token: 0x04002F7F RID: 12159
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4002F7F")]
public FDEGHHFBJJO EnumValue;
// Token: 0x04002F80 RID: 12160
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4002F80")]
public string FriendlyName;
}
// Token: 0x0200079D RID: 1949
[Token(Token = "0x200079D")]
[Serializable]
public struct InventionSortFriendlyNameMapping
{
// Token: 0x04002F81 RID: 12161
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4002F81")]
public InventionsConfig.IJEBAJLMDGP EnumValue;
// Token: 0x04002F82 RID: 12162
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4002F82")]
public string FriendlyName;
}
// Token: 0x0200079E RID: 1950
[Token(Token = "0x200079E")]
[Serializable]
public struct InventionSourceFriendlyNameMapping
{
// Token: 0x04002F83 RID: 12163
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4002F83")]
public InventionListModel.DEEJFPHCCPF SourceEnum;
// Token: 0x04002F84 RID: 12164
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4002F84")]
public string FriendlyName;
}
// Token: 0x020007A0 RID: 1952
[Token(Token = "0x20007A0")]
[CompilerGenerated]
private sealed class FKABDBFFLGM
{
// Token: 0x0600379F RID: 14239 RVA: 0x000E79E4 File Offset: 0x000E5BE4
[Token(Token = "0x600379F")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
public FKABDBFFLGM()
{
}
// Token: 0x060037A0 RID: 14240 RVA: 0x000E79F8 File Offset: 0x000E5BF8
[Token(Token = "0x60037A0")]
[Address(RVA = "0x1591510", Offset = "0x1590510", VA = "0x181591510")]
internal bool <GetFriendlyNameFor>b__0(InventionsConfig.InventionSourceFriendlyNameMapping rs)
{
bool flag;
return flag;
}
// Token: 0x04002F88 RID: 12168
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4002F88")]
public InventionListModel.DEEJFPHCCPF source;
}
}
}