INNER CODE UNIT · C#

attr

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

				var attr = fieldInfo.CustomAttributes.FirstOrDefault(x => x.AttributeType.FullName == typeof(HeaderAttribute).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 IntPtr GetFieldTooltip(IntPtr assembly, IntPtr className, IntPtr fieldName)
		{
			try
			{

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…