Add v1.0.3.1

This commit is contained in:
2023-09-06 22:00:49 +02:00
commit 3aebbbf8f0
2051 changed files with 757425 additions and 0 deletions

View File

@@ -0,0 +1,201 @@
using System;
using System.Collections.Generic;
using Cpp2IlInjected;
using UnityEngine;
namespace XftWeapon
{
// Token: 0x0200037E RID: 894
[Token(Token = "0x200037E")]
public class Spline
{
// Token: 0x170001D7 RID: 471
[Token(Token = "0x170001D7")]
public SplineControlPoint this[int index]
{
[Token(Token = "0x60021D6")]
[Address(RVA = "0xAAEA60", Offset = "0xAAD860", VA = "0x180AAEA60")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x170001D8 RID: 472
// (get) Token: 0x060021D7 RID: 8663 RVA: 0x0004EE34 File Offset: 0x0004D034
[Token(Token = "0x170001D8")]
public List<SplineControlPoint> Segments
{
[Token(Token = "0x60021D7")]
[Address(RVA = "0x2B4380", Offset = "0x2B3180", VA = "0x1802B4380")]
get
{
return this.mSegments;
}
}
// Token: 0x170001D9 RID: 473
// (get) Token: 0x060021D8 RID: 8664 RVA: 0x0004EE48 File Offset: 0x0004D048
[Token(Token = "0x170001D9")]
public List<SplineControlPoint> ControlPoints
{
[Token(Token = "0x60021D8")]
[Address(RVA = "0x2B4010", Offset = "0x2B2E10", VA = "0x1802B4010")]
get
{
return this.mControlPoints;
}
}
// Token: 0x060021D9 RID: 8665 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021D9")]
[Address(RVA = "0xAAE170", Offset = "0xAACF70", VA = "0x180AAE170")]
public SplineControlPoint NextControlPoint(SplineControlPoint controlpoint)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021DA RID: 8666 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021DA")]
[Address(RVA = "0xAAE380", Offset = "0xAAD180", VA = "0x180AAE380")]
public SplineControlPoint PreviousControlPoint(SplineControlPoint controlpoint)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021DB RID: 8667 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021DB")]
[Address(RVA = "0xAAE2C0", Offset = "0xAAD0C0", VA = "0x180AAE2C0")]
public Vector3 NextPosition(SplineControlPoint controlpoint)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021DC RID: 8668 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021DC")]
[Address(RVA = "0xAAE4D0", Offset = "0xAAD2D0", VA = "0x180AAE4D0")]
public Vector3 PreviousPosition(SplineControlPoint controlpoint)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021DD RID: 8669 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021DD")]
[Address(RVA = "0xAAE410", Offset = "0xAAD210", VA = "0x180AAE410")]
public Vector3 PreviousNormal(SplineControlPoint controlpoint)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021DE RID: 8670 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021DE")]
[Address(RVA = "0xAAE200", Offset = "0xAAD000", VA = "0x180AAE200")]
public Vector3 NextNormal(SplineControlPoint controlpoint)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021DF RID: 8671 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021DF")]
[Address(RVA = "0xAADFD0", Offset = "0xAACDD0", VA = "0x180AADFD0")]
public SplineControlPoint LenToSegment(float t, out float localF)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021E0 RID: 8672 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021E0")]
[Address(RVA = "0xAAD7D0", Offset = "0xAAC5D0", VA = "0x180AAD7D0")]
public static Vector3 CatmulRom(Vector3 T0, Vector3 P0, Vector3 P1, Vector3 T1, float f)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021E1 RID: 8673 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021E1")]
[Address(RVA = "0xAADBB0", Offset = "0xAAC9B0", VA = "0x180AADBB0")]
public Vector3 InterpolateByLen(float tl)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021E2 RID: 8674 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021E2")]
[Address(RVA = "0xAADDC0", Offset = "0xAACBC0", VA = "0x180AADDC0")]
public Vector3 InterpolateNormalByLen(float tl)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021E3 RID: 8675 RVA: 0x0004EE5C File Offset: 0x0004D05C
[Token(Token = "0x60021E3")]
[Address(RVA = "0xAAD6E0", Offset = "0xAAC4E0", VA = "0x180AAD6E0")]
public SplineControlPoint AddControlPoint(Vector3 pos, Vector3 up)
{
SplineControlPoint splineControlPoint = new SplineControlPoint();
splineControlPoint.ControlPointIndex = (int)((ulong)(-1L));
splineControlPoint.mSpline = this;
float z = pos.z;
splineControlPoint.Position.z = z;
float z2 = up.z;
splineControlPoint.Normal.z = z2;
splineControlPoint.SegmentIndex = (int)((ulong)4294967295L);
this.mControlPoints.Add(splineControlPoint);
int size = this.mControlPoints._size;
splineControlPoint.ControlPointIndex = size;
return splineControlPoint;
}
// Token: 0x060021E4 RID: 8676 RVA: 0x0004EEDC File Offset: 0x0004D0DC
[Token(Token = "0x60021E4")]
[Address(RVA = "0xAADB60", Offset = "0xAAC960", VA = "0x180AADB60")]
public void Clear()
{
this.mControlPoints.Clear();
}
// Token: 0x060021E5 RID: 8677 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021E5")]
[Address(RVA = "0xAAE590", Offset = "0xAAD390", VA = "0x180AAE590")]
private void RefreshDistance()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021E6 RID: 8678 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021E6")]
[Address(RVA = "0xAAE7D0", Offset = "0xAAD5D0", VA = "0x180AAE7D0")]
public void RefreshSpline()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021E7 RID: 8679 RVA: 0x0004EEFC File Offset: 0x0004D0FC
[Token(Token = "0x60021E7")]
[Address(RVA = "0xAAE9B0", Offset = "0xAAD7B0", VA = "0x180AAE9B0")]
public Spline()
{
List<SplineControlPoint> list = new List();
this.mControlPoints = list;
List<SplineControlPoint> list2 = new List();
this.mSegments = list2;
this.Granularity = (int)((ulong)20L);
base..ctor();
}
// Token: 0x04002B31 RID: 11057
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4002B31")]
private List<SplineControlPoint> mControlPoints;
// Token: 0x04002B32 RID: 11058
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4002B32")]
private List<SplineControlPoint> mSegments;
// Token: 0x04002B33 RID: 11059
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4002B33")]
public int Granularity;
}
}

View File

@@ -0,0 +1,180 @@
using System;
using Cpp2IlInjected;
using UnityEngine;
namespace XftWeapon
{
// Token: 0x0200037F RID: 895
[Token(Token = "0x200037F")]
public class SplineControlPoint
{
// Token: 0x170001DA RID: 474
// (get) Token: 0x060021E8 RID: 8680 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x170001DA")]
public SplineControlPoint NextControlPoint
{
[Token(Token = "0x60021E8")]
[Address(RVA = "0xAAD2C0", Offset = "0xAAC0C0", VA = "0x180AAD2C0")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x170001DB RID: 475
// (get) Token: 0x060021E9 RID: 8681 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x170001DB")]
public SplineControlPoint PreviousControlPoint
{
[Token(Token = "0x60021E9")]
[Address(RVA = "0xAAD4D0", Offset = "0xAAC2D0", VA = "0x180AAD4D0")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x170001DC RID: 476
// (get) Token: 0x060021EA RID: 8682 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x170001DC")]
public Vector3 NextPosition
{
[Token(Token = "0x60021EA")]
[Address(RVA = "0xAAD410", Offset = "0xAAC210", VA = "0x180AAD410")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x170001DD RID: 477
// (get) Token: 0x060021EB RID: 8683 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x170001DD")]
public Vector3 PreviousPosition
{
[Token(Token = "0x60021EB")]
[Address(RVA = "0xAAD620", Offset = "0xAAC420", VA = "0x180AAD620")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x170001DE RID: 478
// (get) Token: 0x060021EC RID: 8684 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x170001DE")]
public Vector3 NextNormal
{
[Token(Token = "0x60021EC")]
[Address(RVA = "0xAAD350", Offset = "0xAAC150", VA = "0x180AAD350")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x170001DF RID: 479
// (get) Token: 0x060021ED RID: 8685 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x170001DF")]
public Vector3 PreviousNormal
{
[Token(Token = "0x60021ED")]
[Address(RVA = "0xAAD560", Offset = "0xAAC360", VA = "0x180AAD560")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x170001E0 RID: 480
// (get) Token: 0x060021EE RID: 8686 RVA: 0x0004EF34 File Offset: 0x0004D134
[Token(Token = "0x170001E0")]
public bool IsValid
{
[Token(Token = "0x60021EE")]
[Address(RVA = "0xAAD2A0", Offset = "0xAAC0A0", VA = "0x180AAD2A0")]
get
{
return this.NextControlPoint != 0;
}
}
// Token: 0x060021EF RID: 8687 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021EF")]
[Address(RVA = "0xAACE30", Offset = "0xAABC30", VA = "0x180AACE30")]
private Vector3 GetNext2Position()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021F0 RID: 8688 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021F0")]
[Address(RVA = "0xAACDD0", Offset = "0xAABBD0", VA = "0x180AACDD0")]
private Vector3 GetNext2Normal()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021F1 RID: 8689 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021F1")]
[Address(RVA = "0xAAD0A0", Offset = "0xAABEA0", VA = "0x180AAD0A0")]
public Vector3 Interpolate(float localF)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021F2 RID: 8690 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021F2")]
[Address(RVA = "0xAACEB0", Offset = "0xAABCB0", VA = "0x180AACEB0")]
public Vector3 InterpolateNormal(float localF)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021F3 RID: 8691 RVA: 0x0004EF50 File Offset: 0x0004D150
[Token(Token = "0x60021F3")]
[Address(RVA = "0xAACE80", Offset = "0xAABC80", VA = "0x180AACE80")]
public void Init(Spline owner)
{
this.mSpline = owner;
this.SegmentIndex = (int)((ulong)4294967295L);
}
// Token: 0x060021F4 RID: 8692 RVA: 0x0004EF74 File Offset: 0x0004D174
[Token(Token = "0x60021F4")]
[Address(RVA = "0xAAD290", Offset = "0xAAC090", VA = "0x180AAD290")]
public SplineControlPoint()
{
}
// Token: 0x04002B34 RID: 11060
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4002B34")]
public Vector3 Position;
// Token: 0x04002B35 RID: 11061
[FieldOffset(Offset = "0x1C")]
[Token(Token = "0x4002B35")]
public Vector3 Normal;
// Token: 0x04002B36 RID: 11062
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4002B36")]
public int ControlPointIndex = (int)((ulong)(-1L));
// Token: 0x04002B37 RID: 11063
[FieldOffset(Offset = "0x2C")]
[Token(Token = "0x4002B37")]
public int SegmentIndex;
// Token: 0x04002B38 RID: 11064
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4002B38")]
public float Dist;
// Token: 0x04002B39 RID: 11065
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4002B39")]
protected Spline mSpline;
}
}

View File

@@ -0,0 +1,323 @@
using System;
using Cpp2IlInjected;
using UnityEngine;
namespace XftWeapon
{
// Token: 0x02000380 RID: 896
[Token(Token = "0x2000380")]
public class VertexPool
{
// Token: 0x170001E1 RID: 481
// (get) Token: 0x060021F5 RID: 8693 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x170001E1")]
public Mesh MyMesh
{
[Token(Token = "0x60021F5")]
[Address(RVA = "0x8C7840", Offset = "0x8C6640", VA = "0x1808C7840")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x060021F6 RID: 8694 RVA: 0x0004EF90 File Offset: 0x0004D190
[Token(Token = "0x60021F6")]
[Address(RVA = "0x8C75C0", Offset = "0x8C63C0", VA = "0x1808C75C0")]
public void RecalculateBounds()
{
this.MyMesh.RecalculateBounds();
}
// Token: 0x060021F7 RID: 8695 RVA: 0x0004EFB0 File Offset: 0x0004D1B0
[Token(Token = "0x60021F7")]
[Address(RVA = "0x8C75F0", Offset = "0x8C63F0", VA = "0x1808C75F0")]
public void SetMeshObjectActive(bool flag)
{
MeshFilter meshFilter = this._meshFilter;
int num = 0;
if (!(meshFilter == num))
{
this._meshFilter.gameObject.SetActive(flag);
}
}
// Token: 0x060021F8 RID: 8696 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021F8")]
[Address(RVA = "0x8C6B10", Offset = "0x8C5910", VA = "0x1808C6B10")]
private void CreateMeshObj(XWeaponTrail owner, Material material)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021F9 RID: 8697 RVA: 0x0004EFE8 File Offset: 0x0004D1E8
[Token(Token = "0x60021F9")]
[Address(RVA = "0x8C6E90", Offset = "0x8C5C90", VA = "0x1808C6E90")]
public void Destroy()
{
if (!this._owner.UseWith2D)
{
UnityEngine.Object.DestroyImmediate(this._mesh2d);
return;
}
MeshFilter meshFilter = this._meshFilter;
int num = 0;
if (meshFilter != num)
{
UnityEngine.Object.Destroy(this._meshFilter.gameObject);
return;
}
}
// Token: 0x060021FA RID: 8698 RVA: 0x0004F03C File Offset: 0x0004D23C
[Token(Token = "0x60021FA")]
[Address(RVA = "0x8C7690", Offset = "0x8C6490", VA = "0x1808C7690")]
public VertexPool(Material material, XWeaponTrail owner)
{
int num = 0;
this._owner = owner;
this.VertexTotal = num;
this.VertCountChanged = num != 0;
if (!owner.UseWith2D)
{
Mesh mesh = new Mesh();
this._mesh2d = mesh;
}
this.CreateMeshObj(owner, material);
this._material = material;
Vector3[] array = new Vector3[4];
this.Vertices = array;
Vector2[] array2 = new Vector2[4];
this.UVs = array2;
Color[] array3 = new Color[4];
this.Colors = array3;
int[] array4 = new int[6];
this.Indices = array4;
this.VertexTotal = (int)((ulong)4L);
this.IndexTotal = (int)((ulong)6L);
this.ColorChanged = true;
this.IndiceChanged = true;
}
// Token: 0x060021FB RID: 8699 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021FB")]
[Address(RVA = "0x8C7120", Offset = "0x8C5F20", VA = "0x1808C7120")]
public VertexPool.VertexSegment GetVertices(int vcount, int icount)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021FC RID: 8700 RVA: 0x0004F100 File Offset: 0x0004D300
[Token(Token = "0x60021FC")]
[Address(RVA = "0x8C7240", Offset = "0x8C6040", VA = "0x1808C7240")]
protected void InitArrays()
{
Vector3[] array = new Vector3[4];
this.Vertices = array;
Vector2[] array2 = new Vector2[4];
this.UVs = array2;
Color[] array3 = new Color[4];
this.Colors = array3;
int[] array4 = new int[6];
this.Indices = array4;
this.VertexTotal = (int)((ulong)4L);
this.IndexTotal = (int)((ulong)6L);
}
// Token: 0x060021FD RID: 8701 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021FD")]
[Address(RVA = "0x8C6F80", Offset = "0x8C5D80", VA = "0x1808C6F80")]
public void EnlargeArrays(int count, int icount)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060021FE RID: 8702 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60021FE")]
[Address(RVA = "0x8C7320", Offset = "0x8C6120", VA = "0x1808C7320")]
public void LateUpdate()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x04002B3A RID: 11066
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4002B3A")]
public Vector3[] Vertices;
// Token: 0x04002B3B RID: 11067
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4002B3B")]
public int[] Indices;
// Token: 0x04002B3C RID: 11068
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4002B3C")]
public Vector2[] UVs;
// Token: 0x04002B3D RID: 11069
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4002B3D")]
public Color[] Colors;
// Token: 0x04002B3E RID: 11070
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4002B3E")]
public bool IndiceChanged;
// Token: 0x04002B3F RID: 11071
[FieldOffset(Offset = "0x31")]
[Token(Token = "0x4002B3F")]
public bool ColorChanged;
// Token: 0x04002B40 RID: 11072
[FieldOffset(Offset = "0x32")]
[Token(Token = "0x4002B40")]
public bool UVChanged;
// Token: 0x04002B41 RID: 11073
[FieldOffset(Offset = "0x33")]
[Token(Token = "0x4002B41")]
public bool VertChanged;
// Token: 0x04002B42 RID: 11074
[FieldOffset(Offset = "0x34")]
[Token(Token = "0x4002B42")]
public bool UV2Changed;
// Token: 0x04002B43 RID: 11075
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4002B43")]
protected int VertexTotal;
// Token: 0x04002B44 RID: 11076
[FieldOffset(Offset = "0x3C")]
[Token(Token = "0x4002B44")]
protected int VertexUsed;
// Token: 0x04002B45 RID: 11077
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4002B45")]
protected int IndexTotal;
// Token: 0x04002B46 RID: 11078
[FieldOffset(Offset = "0x44")]
[Token(Token = "0x4002B46")]
protected int IndexUsed;
// Token: 0x04002B47 RID: 11079
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x4002B47")]
public bool FirstUpdate = true;
// Token: 0x04002B48 RID: 11080
[FieldOffset(Offset = "0x49")]
[Token(Token = "0x4002B48")]
protected bool VertCountChanged;
// Token: 0x04002B49 RID: 11081
[Token(Token = "0x4002B49")]
public const int BlockSize = 108;
// Token: 0x04002B4A RID: 11082
[FieldOffset(Offset = "0x4C")]
[Token(Token = "0x4002B4A")]
public float BoundsScheduleTime = 1f;
// Token: 0x04002B4B RID: 11083
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x4002B4B")]
public float ElapsedTime;
// Token: 0x04002B4C RID: 11084
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x4002B4C")]
protected XWeaponTrail _owner;
// Token: 0x04002B4D RID: 11085
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x4002B4D")]
protected MeshFilter _meshFilter;
// Token: 0x04002B4E RID: 11086
[FieldOffset(Offset = "0x68")]
[Token(Token = "0x4002B4E")]
protected Mesh _mesh2d;
// Token: 0x04002B4F RID: 11087
[FieldOffset(Offset = "0x70")]
[Token(Token = "0x4002B4F")]
protected Material _material;
// Token: 0x02000381 RID: 897
[Token(Token = "0x2000381")]
public class VertexSegment
{
// Token: 0x060021FF RID: 8703 RVA: 0x0004F158 File Offset: 0x0004D358
[Token(Token = "0x60021FF")]
[Address(RVA = "0x1337B10", Offset = "0x1336910", VA = "0x181337B10")]
public VertexSegment(int start, int count, int istart, int icount, VertexPool pool)
{
/*
An exception occurred when decompiling this method (060021FF)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void XftWeapon.VertexPool/VertexSegment::.ctor(System.Int32,System.Int32,System.Int32,System.Int32,XftWeapon.VertexPool)
---> System.Exception: Basic block has to end with unconditional control flow.
{; Block_0:; call:void(object::.ctor, ldloc:VertexSegment[exp:object](this)); stfld:VertexPool(VertexSegment::Pool, ldloc:VertexSegment(this), ldc.i4:int32[exp:VertexPool](0)); stfld:int32(VertexSegment::VertStart, ldloc:VertexSegment(this), ldloc:int32(start)); stfld:int32(VertexSegment::VertCount, ldloc:VertexSegment(this), ldloc:int32(count)); stfld:int32(VertexSegment::IndexCount, ldloc:VertexSegment(this), ldc.i4:int32(0)); stfld:int32(VertexSegment::IndexStart, ldloc:VertexSegment(this), ldloc:int32(istart)); };
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
*/;
}
// Token: 0x06002200 RID: 8704 RVA: 0x0004F190 File Offset: 0x0004D390
[Token(Token = "0x6002200")]
[Address(RVA = "0x1337A90", Offset = "0x1336890", VA = "0x181337A90")]
public void ClearIndices()
{
int num = this.IndexStart;
int num2 = this.IndexCount;
num2 += num;
if (num < num2)
{
int num3 = 0;
int[] indices = this.Pool.Indices;
num++;
indices[0] = num3;
int indexCount = this.IndexCount;
}
this.Pool.IndiceChanged = true;
}
// Token: 0x04002B50 RID: 11088
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4002B50")]
public int VertStart;
// Token: 0x04002B51 RID: 11089
[FieldOffset(Offset = "0x14")]
[Token(Token = "0x4002B51")]
public int IndexStart;
// Token: 0x04002B52 RID: 11090
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4002B52")]
public int VertCount;
// Token: 0x04002B53 RID: 11091
[FieldOffset(Offset = "0x1C")]
[Token(Token = "0x4002B53")]
public int IndexCount;
// Token: 0x04002B54 RID: 11092
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4002B54")]
public VertexPool Pool;
}
}
}

View File

@@ -0,0 +1,528 @@
using System;
using System.Collections.Generic;
using Cpp2IlInjected;
using UnityEngine;
namespace XftWeapon
{
// Token: 0x02000382 RID: 898
[Token(Token = "0x2000382")]
public class XWeaponTrail : MonoBehaviour
{
// Token: 0x170001E2 RID: 482
// (get) Token: 0x06002201 RID: 8705 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x170001E2")]
public float UpdateInterval
{
[Token(Token = "0x6002201")]
[Address(RVA = "0x949C60", Offset = "0x948A60", VA = "0x180949C60")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x170001E3 RID: 483
// (get) Token: 0x06002202 RID: 8706 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x170001E3")]
public Vector3 CurHeadPos
{
[Token(Token = "0x6002202")]
[Address(RVA = "0x949B80", Offset = "0x948980", VA = "0x180949B80")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x170001E4 RID: 484
// (get) Token: 0x06002203 RID: 8707 RVA: 0x0004F1E8 File Offset: 0x0004D3E8
[Token(Token = "0x170001E4")]
public float TrailWidth
{
[Token(Token = "0x6002203")]
[Address(RVA = "0x949C50", Offset = "0x948A50", VA = "0x180949C50")]
get
{
return this.mTrailWidth;
}
}
// Token: 0x06002204 RID: 8708 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002204")]
[Address(RVA = "0x948190", Offset = "0x946F90", VA = "0x180948190")]
public void Init()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002205 RID: 8709 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002205")]
[Address(RVA = "0x947940", Offset = "0x946740", VA = "0x180947940")]
public void Activate()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002206 RID: 8710 RVA: 0x0004F1FC File Offset: 0x0004D3FC
[Token(Token = "0x6002206")]
[Address(RVA = "0x947CB0", Offset = "0x946AB0", VA = "0x180947CB0")]
public void Deactivate()
{
this.mActivated = false;
GameObject gameObject = base.gameObject;
int num = 0;
gameObject.SetActive(num != 0);
VertexPool vertexPool = this.mVertexPool;
int num2 = 0;
vertexPool.SetMeshObjectActive(num2 != 0);
}
// Token: 0x06002207 RID: 8711 RVA: 0x0004F238 File Offset: 0x0004D438
[Token(Token = "0x6002207")]
[Address(RVA = "0x948D80", Offset = "0x947B80", VA = "0x180948D80")]
public void StopSmoothly(float fadeTime)
{
this.mFadeTime = fadeTime;
this.mIsFading = true;
}
// Token: 0x06002208 RID: 8712 RVA: 0x0004F254 File Offset: 0x0004D454
[Token(Token = "0x6002208")]
[Address(RVA = "0x9489A0", Offset = "0x9477A0", VA = "0x1809489A0")]
private void OnEnable()
{
this.Activate();
}
// Token: 0x06002209 RID: 8713 RVA: 0x0004F268 File Offset: 0x0004D468
[Token(Token = "0x6002209")]
[Address(RVA = "0x947CB0", Offset = "0x946AB0", VA = "0x180947CB0")]
private void OnDisable()
{
this.mActivated = false;
GameObject gameObject = base.gameObject;
int num = 0;
gameObject.SetActive(num != 0);
VertexPool vertexPool = this.mVertexPool;
int num2 = 0;
vertexPool.SetMeshObjectActive(num2 != 0);
}
// Token: 0x0600220A RID: 8714 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600220A")]
[Address(RVA = "0x9496E0", Offset = "0x9484E0", VA = "0x1809496E0")]
private void Update()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600220B RID: 8715 RVA: 0x0004F2A4 File Offset: 0x0004D4A4
[Token(Token = "0x600220B")]
[Address(RVA = "0x948710", Offset = "0x947510", VA = "0x180948710")]
private void LateUpdate()
{
if (this.mInited)
{
this.mVertexPool.LateUpdate();
return;
}
}
// Token: 0x0600220C RID: 8716 RVA: 0x0004F2CC File Offset: 0x0004D4CC
[Token(Token = "0x600220C")]
[Address(RVA = "0x948740", Offset = "0x947540", VA = "0x180948740")]
private void OnDestroy()
{
if (this.mInited)
{
VertexPool vertexPool = this.mVertexPool;
if (vertexPool != 0)
{
vertexPool.Destroy();
return;
}
}
}
// Token: 0x0600220D RID: 8717 RVA: 0x0004F2F4 File Offset: 0x0004D4F4
[Token(Token = "0x600220D")]
[Address(RVA = "0x948D70", Offset = "0x947B70", VA = "0x180948D70")]
private void Start()
{
this.mInited = false;
this.Init();
}
// Token: 0x0600220E RID: 8718 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600220E")]
[Address(RVA = "0x948760", Offset = "0x947560", VA = "0x180948760")]
private void OnDrawGizmos()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600220F RID: 8719 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600220F")]
[Address(RVA = "0x947FB0", Offset = "0x946DB0", VA = "0x180947FB0")]
private void InitSpline()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002210 RID: 8720 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002210")]
[Address(RVA = "0x948B30", Offset = "0x947930", VA = "0x180948B30")]
private void RefreshSpline()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002211 RID: 8721 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002211")]
[Address(RVA = "0x949210", Offset = "0x948010", VA = "0x180949210")]
private void UpdateVertex()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002212 RID: 8722 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002212")]
[Address(RVA = "0x948F10", Offset = "0x947D10", VA = "0x180948F10")]
private void UpdateIndices()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002213 RID: 8723 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002213")]
[Address(RVA = "0x948E40", Offset = "0x947C40", VA = "0x180948E40")]
private void UpdateHeadElem()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002214 RID: 8724 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002214")]
[Address(RVA = "0x948D90", Offset = "0x947B90", VA = "0x180948D90")]
private void UpdateFade()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002215 RID: 8725 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002215")]
[Address(RVA = "0x9489B0", Offset = "0x9477B0", VA = "0x1809489B0")]
private void RecordCurElem()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002216 RID: 8726 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002216")]
[Address(RVA = "0x947DC0", Offset = "0x946BC0", VA = "0x180947DC0")]
private void InitOriginalElements()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002217 RID: 8727 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002217")]
[Address(RVA = "0x947D00", Offset = "0x946B00", VA = "0x180947D00")]
private void InitMeshObj()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002218 RID: 8728 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002218")]
[Address(RVA = "0x949A60", Offset = "0x948860", VA = "0x180949A60")]
public XWeaponTrail()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002219 RID: 8729 RVA: 0x0004F310 File Offset: 0x0004D510
// Note: this type is marked as 'beforefieldinit'.
[Token(Token = "0x6002219")]
[Address(RVA = "0x949A10", Offset = "0x948810", VA = "0x180949A10")]
static XWeaponTrail()
{
/*
An exception occurred when decompiling this method (06002219)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void XftWeapon.XWeaponTrail::.cctor()
---> System.Exception: Basic block has to end with unconditional control flow.
{; Block_0:; stsfld:string(XWeaponTrail::Version, ldstr:string("1.3.1")); };
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
*/;
}
// Token: 0x04002B55 RID: 11093
[Token(Token = "0x4002B55")]
public static string Version;
// Token: 0x04002B56 RID: 11094
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4002B56")]
public bool UseWith2D;
// Token: 0x04002B57 RID: 11095
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4002B57")]
public string SortingLayerName;
// Token: 0x04002B58 RID: 11096
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4002B58")]
public int SortingOrder;
// Token: 0x04002B59 RID: 11097
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4002B59")]
public Transform PointStart;
// Token: 0x04002B5A RID: 11098
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4002B5A")]
public Transform PointEnd;
// Token: 0x04002B5B RID: 11099
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4002B5B")]
public int MaxFrame;
// Token: 0x04002B5C RID: 11100
[FieldOffset(Offset = "0x44")]
[Token(Token = "0x4002B5C")]
public int Granularity;
// Token: 0x04002B5D RID: 11101
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x4002B5D")]
public float Fps;
// Token: 0x04002B5E RID: 11102
[FieldOffset(Offset = "0x4C")]
[Token(Token = "0x4002B5E")]
public Color MyColor;
// Token: 0x04002B5F RID: 11103
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x4002B5F")]
public Material MyMaterial;
// Token: 0x04002B60 RID: 11104
[FieldOffset(Offset = "0x68")]
[Token(Token = "0x4002B60")]
protected float mTrailWidth;
// Token: 0x04002B61 RID: 11105
[FieldOffset(Offset = "0x70")]
[Token(Token = "0x4002B61")]
protected XWeaponTrail.Element mHeadElem;
// Token: 0x04002B62 RID: 11106
[FieldOffset(Offset = "0x78")]
[Token(Token = "0x4002B62")]
protected List<XWeaponTrail.Element> mSnapshotList;
// Token: 0x04002B63 RID: 11107
[FieldOffset(Offset = "0x80")]
[Token(Token = "0x4002B63")]
protected XWeaponTrail.ElementPool mElemPool;
// Token: 0x04002B64 RID: 11108
[FieldOffset(Offset = "0x88")]
[Token(Token = "0x4002B64")]
protected Spline mSpline;
// Token: 0x04002B65 RID: 11109
[FieldOffset(Offset = "0x90")]
[Token(Token = "0x4002B65")]
protected float mFadeT;
// Token: 0x04002B66 RID: 11110
[FieldOffset(Offset = "0x94")]
[Token(Token = "0x4002B66")]
protected bool mIsFading;
// Token: 0x04002B67 RID: 11111
[FieldOffset(Offset = "0x98")]
[Token(Token = "0x4002B67")]
protected float mFadeTime;
// Token: 0x04002B68 RID: 11112
[FieldOffset(Offset = "0x9C")]
[Token(Token = "0x4002B68")]
protected float mElapsedTime;
// Token: 0x04002B69 RID: 11113
[FieldOffset(Offset = "0xA0")]
[Token(Token = "0x4002B69")]
protected float mFadeElapsedime;
// Token: 0x04002B6A RID: 11114
[FieldOffset(Offset = "0xA8")]
[Token(Token = "0x4002B6A")]
protected GameObject mMeshObj;
// Token: 0x04002B6B RID: 11115
[FieldOffset(Offset = "0xB0")]
[Token(Token = "0x4002B6B")]
protected VertexPool mVertexPool;
// Token: 0x04002B6C RID: 11116
[FieldOffset(Offset = "0xB8")]
[Token(Token = "0x4002B6C")]
protected VertexPool.VertexSegment mVertexSegment;
// Token: 0x04002B6D RID: 11117
[FieldOffset(Offset = "0xC0")]
[Token(Token = "0x4002B6D")]
protected bool mInited;
// Token: 0x04002B6E RID: 11118
[FieldOffset(Offset = "0xC1")]
[Token(Token = "0x4002B6E")]
protected bool mActivated;
// Token: 0x02000383 RID: 899
[Token(Token = "0x2000383")]
public class Element
{
// Token: 0x170001E5 RID: 485
// (get) Token: 0x0600221A RID: 8730 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x170001E5")]
public Vector3 Pos
{
[Token(Token = "0x600221A")]
[Address(RVA = "0x132CBE0", Offset = "0x132B9E0", VA = "0x18132CBE0")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x0600221B RID: 8731 RVA: 0x0004F328 File Offset: 0x0004D528
[Token(Token = "0x600221B")]
[Address(RVA = "0x132CB90", Offset = "0x132B990", VA = "0x18132CB90")]
public Element(Vector3 start, Vector3 end)
{
float z = start.z;
this.PointStart.z = z;
float z2 = end.z;
this.PointEnd.z = z2;
}
// Token: 0x0600221C RID: 8732 RVA: 0x0004F364 File Offset: 0x0004D564
[Token(Token = "0x600221C")]
[Address(RVA = "0x3D8B20", Offset = "0x3D7920", VA = "0x1803D8B20")]
public Element()
{
}
// Token: 0x04002B6F RID: 11119
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4002B6F")]
public Vector3 PointStart;
// Token: 0x04002B70 RID: 11120
[FieldOffset(Offset = "0x1C")]
[Token(Token = "0x4002B70")]
public Vector3 PointEnd;
}
// Token: 0x02000384 RID: 900
[Token(Token = "0x2000384")]
public class ElementPool
{
// Token: 0x170001E6 RID: 486
// (get) Token: 0x0600221D RID: 8733 RVA: 0x0004F378 File Offset: 0x0004D578
// (set) Token: 0x0600221E RID: 8734 RVA: 0x0004F38C File Offset: 0x0004D58C
[Token(Token = "0x170001E6")]
public int CountAll
{
[Token(Token = "0x600221D")]
[Address(RVA = "0x296740", Offset = "0x295540", VA = "0x180296740")]
get;
[Token(Token = "0x600221E")]
[Address(RVA = "0x296750", Offset = "0x295550", VA = "0x180296750")]
private set;
}
// Token: 0x170001E7 RID: 487
// (get) Token: 0x0600221F RID: 8735 RVA: 0x0004F3A0 File Offset: 0x0004D5A0
[Token(Token = "0x170001E7")]
public int CountActive
{
[Token(Token = "0x600221F")]
[Address(RVA = "0x132CB00", Offset = "0x132B900", VA = "0x18132CB00")]
get
{
int num = this.<CountAll>k__BackingField;
Stack<XWeaponTrail.Element> stack = this._stack;
return num;
}
}
// Token: 0x170001E8 RID: 488
// (get) Token: 0x06002220 RID: 8736 RVA: 0x0004F3C4 File Offset: 0x0004D5C4
[Token(Token = "0x170001E8")]
public int CountInactive
{
[Token(Token = "0x6002220")]
[Address(RVA = "0x132CB50", Offset = "0x132B950", VA = "0x18132CB50")]
get
{
return this._stack._size;
}
}
// Token: 0x06002221 RID: 8737 RVA: 0x0004F3E4 File Offset: 0x0004D5E4
[Token(Token = "0x6002221")]
[Address(RVA = "0x132CA00", Offset = "0x132B800", VA = "0x18132CA00")]
public ElementPool(int preCount)
{
Stack<XWeaponTrail.Element> stack = new Stack();
this._stack = stack;
base..ctor();
int num = 0;
if (preCount > 0)
{
XWeaponTrail.Element element = new XWeaponTrail.Element();
this._stack.Push(element);
num++;
}
}
// Token: 0x06002222 RID: 8738 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002222")]
[Address(RVA = "0x132C890", Offset = "0x132B690", VA = "0x18132C890")]
public XWeaponTrail.Element Get()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002223 RID: 8739 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002223")]
[Address(RVA = "0x132C930", Offset = "0x132B730", VA = "0x18132C930")]
public void Release(XWeaponTrail.Element element)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x04002B71 RID: 11121
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4002B71")]
private readonly Stack<XWeaponTrail.Element> _stack;
}
}
}