Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ EnumTimeCallback()

static unsafe Interop.BOOL System.Globalization.CultureData.EnumTimeCallback ( char * lpTimeFormatString,
void * lParam )
inlinestaticprivate

Definition at line 2492 of file CultureData.cs.

2493 {
2494 ref EnumData reference = ref Unsafe.As<byte, EnumData>(ref *(byte*)lParam);
2495 try
2496 {
2497 reference.strings.Add(new string(lpTimeFormatString));
2498 return Interop.BOOL.TRUE;
2499 }
2500 catch (Exception)
2501 {
2502 return Interop.BOOL.FALSE;
2503 }
2504 }
void Add(TKey key, TValue value)

References System.Collections.Generic.Dictionary< TKey, TValue >.Add().

Referenced by System.Globalization.CultureData.nativeEnumTimeFormats().