mirror of
https://git.lewd.wtf/PGR/ascnet
synced 2025-12-13 10:44:34 +01:00
PreFightResponse data from DB
This commit is contained in:
@@ -2,6 +2,14 @@
|
||||
{
|
||||
public static class Miscs
|
||||
{
|
||||
public static int ParseIntOr(string? s, int d)
|
||||
{
|
||||
if (int.TryParse(s, out var parsed))
|
||||
{
|
||||
return parsed;
|
||||
}
|
||||
return d;
|
||||
}
|
||||
public static byte[] HexStringToByteArray(string hex)
|
||||
{
|
||||
if (hex.Length % 2 == 1)
|
||||
|
||||
Reference in New Issue
Block a user