LethalCompany/Lethal Company/ExportedProject/Assets/Plugins/Assembly-CSharp-firstpass/ES3Internal/ES3Member.cs

34 lines
635 B
C#
Raw Normal View History

2023-12-22 22:51:17 +00:00
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;
}
}
}