This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,62 @@
using System;
using Cpp2IlInjected;
using Pathfinding.RVO;
using UnityEngine;
namespace RRUI.Data
{
// Token: 0x0200086D RID: 2157
[Token(Token = "0x200086D")]
public abstract class ModelController<TModel> : CompositeController<TModel> where TModel : ModelBase
{
// Token: 0x17000AAB RID: 2731
// (get) Token: 0x06003BCE RID: 15310 RVA: 0x000F45A4 File Offset: 0x000F27A4
[Token(Token = "0x17000AAB")]
protected sealed override bool SupportsNonInterfaceModelTypes
{
[Token(Token = "0x6003BCE")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "19")]
get
{
return true;
}
}
// Token: 0x06003BCF RID: 15311 RVA: 0x000F45B4 File Offset: 0x000F27B4
[Token(Token = "0x6003BCF")]
[Address(RVA = "0x2647030", Offset = "0x2646030", VA = "0x182647030", Slot = "18")]
protected override bool TryGetSerializedModel(out TModel model)
{
return true;
}
// Token: 0x06003BD0 RID: 15312 RVA: 0x000F45C4 File Offset: 0x000F27C4
[Token(Token = "0x6003BD0")]
[Address(RVA = "0x1CC5F20", Offset = "0x1CC4F20", VA = "0x181CC5F20")]
protected ModelController()
{
bool debugDraw = ((IAgent)this).DebugDraw;
}
// Token: 0x04003317 RID: 13079
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4003317")]
[SerializeField]
[OAGJHJAIMMP(FHBJCBPFODN.SelfAndParent, true, true, false)]
private TModel model;
// Token: 0x04003318 RID: 13080
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4003318")]
[SerializeField]
[Tooltip("By default we use the first Model of the correct type above the Controller in the scene hierarchy. This can be used to explicitly specify which Model to use.")]
private bool overrideModel;
// Token: 0x04003319 RID: 13081
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4003319")]
[SerializeField]
[JEAMMEGEDDJ("overrideModel")]
private TModel modelOverride;
}
}