Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
CheckIriUnicodeRange()
[1/3]
static
bool
System.IriHelper.CheckIriUnicodeRange
(
char
highSurr
,
char
lowSurr
,
out
bool
isSurrogatePair
,
bool
isQuery
)
inline
static
package
Definition at line
21
of file
IriHelper.cs
.
22
{
23
if
(
Rune
.
TryCreate
(highSurr, lowSurr, out var result))
24
{
25
isSurrogatePair =
true
;
26
if
((result.Value & 0xFFFF) < 65534 && (uint)(result.Value - 917504) >= 4096u)
27
{
28
if
(!isQuery)
29
{
30
return
result.Value < 983040;
31
}
32
return
true
;
33
}
34
return
false
;
35
}
36
isSurrogatePair =
false
;
37
return
false
;
38
}
System.Text.Rune.TryCreate
static bool TryCreate(char ch, out Rune result)
Definition
Rune.cs:511
System.Text.Rune
Definition
Rune.cs:12
References
System.Text.Rune.TryCreate()
.
System
IriHelper
Generated by
1.10.0