terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
CookieParser.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Net
5{
6 // Token: 0x02000210 RID: 528
7 internal class CookieParser
8 {
9 // Token: 0x06000D0D RID: 3341 RVA: 0x00029990 File Offset: 0x00027B90
10 internal CookieParser(string cookieString)
11 {
12 int stringLength = cookieString._stringLength;
13 }
14
15 // Token: 0x06000D0E RID: 3342 RVA: 0x000299AC File Offset: 0x00027BAC
16 internal Cookie Get()
17 {
18 for (;;)
19 {
21 if (false)
22 {
25 if (tokenizer2.m_value == null)
26 {
27 }
28 }
29 string name = this.m_tokenizer.m_name;
30 if (this.m_tokenizer.m_value == null)
31 {
32 }
34 if (43163648 == 0)
35 {
36 }
37 int num = 1;
38 string text;
39 bool flag = int.TryParse(text, num);
40 bool quoted = this.m_tokenizer.m_quoted;
41 bool quoted2 = this.m_tokenizer.m_quoted;
42 if (43163648 == 0)
43 {
44 }
46 if (43163648 == 0)
47 {
48 }
51 int index = tokenizer3.m_index;
52 if (tokenizer3.m_eofCookie)
53 {
54 return;
55 }
56 }
57 }
58
59 // Token: 0x06000D0F RID: 3343 RVA: 0x00029A7C File Offset: 0x00027C7C
60 internal Cookie GetServer()
61 {
63 for (;;)
64 {
65 int num = 1;
67 if (savedCookie != null && num != 0)
68 {
69 break;
70 }
72 int num2 = 1;
73 long num3 = 0L;
75 if (savedCookie == null)
76 {
77 }
78 string name = this.m_tokenizer.m_name;
79 if (this.m_tokenizer.m_value == null)
80 {
81 }
83 int index = tokenizer2.m_index;
84 if (tokenizer2.m_eofCookie)
85 {
86 return int.MinValue;
87 }
88 }
92 string text = CookieParser.CheckQuoted(tokenizer4.m_value);
94 bool quoted = this.m_tokenizer.m_quoted;
96 return savedCookie;
97 }
98
99 // Token: 0x06000D10 RID: 3344 RVA: 0x00029BA8 File Offset: 0x00027DA8
100 internal static string CheckQuoted(string value)
101 {
102 string text;
103 return text;
104 }
105
106 // Token: 0x04000B32 RID: 2866
108
109 // Token: 0x04000B33 RID: 2867
111 }
112}
class f__AnonymousType0<< Count > j__TPar
static CultureInfo InvariantCulture
CookieTokenizer m_tokenizer
CookieParser(string cookieString)
static string CheckQuoted(string value)
CookieToken Next(bool first, bool parseResponseCookies)
static DateTime Now
Definition DateTime.cs:530