Files
Dec2017-Script-Dump/UnityEngine/Scripting/RequiredByNativeCodeAttribute.cs
T
2026-06-04 11:42:34 +02:00

44 lines
1.5 KiB
C#

using System;
namespace UnityEngine.Scripting
{
// Token: 0x020004E9 RID: 1257
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Interface, Inherited = false)]
internal class RequiredByNativeCodeAttribute : Attribute
{
// Token: 0x06003C17 RID: 15383 RVA: 0x00069D64 File Offset: 0x00067F64
public RequiredByNativeCodeAttribute()
{
}
// Token: 0x06003C18 RID: 15384 RVA: 0x00069D70 File Offset: 0x00067F70
public RequiredByNativeCodeAttribute(string name)
{
this.Name = name;
}
// Token: 0x06003C19 RID: 15385 RVA: 0x00069D80 File Offset: 0x00067F80
public RequiredByNativeCodeAttribute(bool optional)
{
this.Optional = optional;
}
// Token: 0x06003C1A RID: 15386 RVA: 0x00069D90 File Offset: 0x00067F90
public RequiredByNativeCodeAttribute(string name, bool optional)
{
this.Name = name;
this.Optional = optional;
}
// Token: 0x17000D92 RID: 3474
// (get) Token: 0x06003C1B RID: 15387 RVA: 0x00069DA8 File Offset: 0x00067FA8
// (set) Token: 0x06003C1C RID: 15388 RVA: 0x00069DC4 File Offset: 0x00067FC4
public string Name { get; set; }
// Token: 0x17000D93 RID: 3475
// (get) Token: 0x06003C1D RID: 15389 RVA: 0x00069DD0 File Offset: 0x00067FD0
// (set) Token: 0x06003C1E RID: 15390 RVA: 0x00069DEC File Offset: 0x00067FEC
public bool Optional { get; set; }
}
}