INNER CODE UNIT · C#

attr

GloriousPtr/ArcGameEngine · Arc-ScriptCore/src/Core/AssemblyHelper.cs:515

				var attr = fieldInfo.CustomAttributes.FirstOrDefault(x =>  x.AttributeType.FullName == typeof(TooltipAttribute).FullName);
				if (attr == null)
					return IntPtr.Zero;

				return AllocateString(attr.ConstructorArguments[0].Value as string);
			}
			catch (Exception ex)
			{
				ex.ReportToArc();
				return IntPtr.Zero;
			}
		}

		[UnmanagedCallersOnly]
		internal static int IsFieldPublic(IntPtr assembly, IntPtr className, IntPtr fieldName)
		{
			try
			{

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…