34 lines
635 B
C#
34 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;
|
||
|
}
|
||
|
}
|
||
|
}
|