LethalCompany/Lethal Company/ExportedProject/Assets/Plugins/Assembly-CSharp-firstpass/ES3Internal/ES3Member.cs
2023-12-22 18:30:10 -05:00

33 lines
635 B
C#

using System;
namespace ES3Internal
{
public class ES3Member
{
public string name;
public Type type;
public bool isProperty;
public ES3Reflection.ES3ReflectedMember reflectedMember;
public bool useReflection;
public ES3Member(string name, Type type, bool isProperty)
{
this.name = name;
this.type = type;
this.isProperty = isProperty;
}
public ES3Member(ES3Reflection.ES3ReflectedMember reflectedMember)
{
this.reflectedMember = reflectedMember;
name = reflectedMember.Name;
type = reflectedMember.MemberType;
isProperty = reflectedMember.isProperty;
useReflection = true;
}
}
}