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
UserProfile.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
UnityEngine.SocialPlatforms.Impl
4
{
5
// Token: 0x0200000E RID: 14
6
public
class
UserProfile
:
IUserProfile
7
{
8
// Token: 0x06000016 RID: 22 RVA: 0x00002168 File Offset: 0x00000368
9
public
UserProfile
()
10
{
11
this.m_UserName
=
"Uninitialized"
;
12
this.m_State
=
UserState
.Offline;
13
this.m_ID
=
"0"
;
14
this.m_legacyID
=
"0"
;
15
}
16
17
// Token: 0x06000017 RID: 23 RVA: 0x000021A4 File Offset: 0x000003A4
18
public
UserProfile
(
string
name
,
string
id
,
bool
friend
,
UserState
state
,
Texture2D
image)
19
{
20
this.m_UserName
=
name
;
21
this.m_ID
=
id
;
22
this.m_Image
= image;
23
this.m_gameID
=
id
;
24
this.m_State
=
state
;
25
}
26
27
// Token: 0x06000018 RID: 24 RVA: 0x000021DC File Offset: 0x000003DC
28
public
UserProfile
(
string
name
,
string
teamId
,
string
gameId
,
bool
friend
,
UserState
state
,
Texture2D
image)
29
{
30
this.m_UserName
=
name
;
31
this.m_ID
=
teamId
;
32
this.m_Image
= image;
33
this.m_gameID
=
gameId
;
34
this.m_State
=
state
;
35
}
36
37
// Token: 0x06000019 RID: 25 RVA: 0x00002214 File Offset: 0x00000414
38
public
override
string
ToString
()
39
{
40
string
id
= this.
m_ID
;
41
if
((
id
==
null
||
id
!=
null
) && (
" - "
==
null
||
" - "
!=
null
))
42
{
43
string
userName
= this.
m_UserName
;
44
if
((userName ==
null
||
userName
!=
null
) && (
" - "
==
null
||
" - "
!=
null
))
45
{
46
bool
isFriend
= this.
m_IsFriend
;
47
string
text
;
48
if
((text ==
null
||
text
!=
null
) && (
" - "
==
null
||
" - "
!=
null
))
49
{
50
UserState
state
= this.
m_State
;
51
string
text2;
52
if
(text2 ==
null
|| text2 !=
null
)
53
{
54
string
text3
;
55
return
text3
;
56
}
57
}
58
}
59
}
60
throw
new
ArrayTypeMismatchException
();
61
}
62
63
// Token: 0x0600001A RID: 26 RVA: 0x0000228C File Offset: 0x0000048C
64
public
void
SetUserName
(
string
name
)
65
{
66
this.m_UserName
=
name
;
67
}
68
69
// Token: 0x0600001B RID: 27 RVA: 0x000022A0 File Offset: 0x000004A0
70
public
void
SetUserID
(
string
id
)
71
{
72
this.m_ID
=
id
;
73
}
74
75
// Token: 0x0600001C RID: 28 RVA: 0x000022B4 File Offset: 0x000004B4
76
public
void
SetImage
(
Texture2D
image)
77
{
78
this.m_Image
= image;
79
}
80
81
// Token: 0x1700000A RID: 10
82
// (get) Token: 0x0600001D RID: 29 RVA: 0x000022C8 File Offset: 0x000004C8
83
public
string
userName
84
{
85
get
86
{
87
return
this.
m_UserName
;
88
}
89
}
90
91
// Token: 0x1700000B RID: 11
92
// (get) Token: 0x0600001E RID: 30 RVA: 0x000022DC File Offset: 0x000004DC
93
public
string
id
94
{
95
get
96
{
97
return
this.
m_ID
;
98
}
99
}
100
101
// Token: 0x1700000C RID: 12
102
// (get) Token: 0x0600001F RID: 31 RVA: 0x000022F0 File Offset: 0x000004F0
103
public
bool
isFriend
104
{
105
get
106
{
107
return
this.
m_IsFriend
;
108
}
109
}
110
111
// Token: 0x1700000D RID: 13
112
// (get) Token: 0x06000020 RID: 32 RVA: 0x00002304 File Offset: 0x00000504
113
public
UserState
state
114
{
115
get
116
{
117
return
this.
m_State
;
118
}
119
}
120
121
// Token: 0x0400001B RID: 27
122
protected
string
m_UserName
;
123
124
// Token: 0x0400001C RID: 28
125
protected
string
m_ID
;
126
127
// Token: 0x0400001D RID: 29
128
private
string
m_legacyID
;
129
130
// Token: 0x0400001E RID: 30
131
protected
bool
m_IsFriend
;
132
133
// Token: 0x0400001F RID: 31
134
protected
UserState
m_State
;
135
136
// Token: 0x04000020 RID: 32
137
protected
Texture2D
m_Image
;
138
139
// Token: 0x04000021 RID: 33
140
private
string
m_gameID
;
141
}
142
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
UnityEngine.SocialPlatforms.Impl.UserProfile.UserProfile
UserProfile()
Definition
UserProfile.cs:9
UnityEngine.SocialPlatforms.Impl.UserProfile.m_Image
Texture2D m_Image
Definition
UserProfile.cs:137
UnityEngine.SocialPlatforms.Impl.UserProfile.m_ID
string m_ID
Definition
UserProfile.cs:125
UnityEngine.SocialPlatforms.Impl.UserProfile.m_gameID
string m_gameID
Definition
UserProfile.cs:140
UnityEngine.SocialPlatforms.Impl.UserProfile.m_UserName
string m_UserName
Definition
UserProfile.cs:122
UnityEngine.SocialPlatforms.Impl.UserProfile.SetUserName
void SetUserName(string name)
Definition
UserProfile.cs:64
UnityEngine.SocialPlatforms.Impl.UserProfile.m_IsFriend
bool m_IsFriend
Definition
UserProfile.cs:131
UnityEngine.SocialPlatforms.Impl.UserProfile.ToString
override string ToString()
Definition
UserProfile.cs:38
UnityEngine.SocialPlatforms.Impl.UserProfile.SetImage
void SetImage(Texture2D image)
Definition
UserProfile.cs:76
UnityEngine.SocialPlatforms.Impl.UserProfile.m_State
UserState m_State
Definition
UserProfile.cs:134
UnityEngine.SocialPlatforms.Impl.UserProfile.UserProfile
UserProfile(string name, string teamId, string gameId, bool friend, UserState state, Texture2D image)
Definition
UserProfile.cs:28
UnityEngine.SocialPlatforms.Impl.UserProfile.isFriend
bool isFriend
Definition
UserProfile.cs:104
UnityEngine.SocialPlatforms.Impl.UserProfile.userName
string userName
Definition
UserProfile.cs:84
UnityEngine.SocialPlatforms.Impl.UserProfile.state
UserState state
Definition
UserProfile.cs:114
UnityEngine.SocialPlatforms.Impl.UserProfile.id
string id
Definition
UserProfile.cs:94
UnityEngine.SocialPlatforms.Impl.UserProfile.m_legacyID
string m_legacyID
Definition
UserProfile.cs:128
UnityEngine.SocialPlatforms.Impl.UserProfile.UserProfile
UserProfile(string name, string id, bool friend, UserState state, Texture2D image)
Definition
UserProfile.cs:18
UnityEngine.SocialPlatforms.Impl.UserProfile.SetUserID
void SetUserID(string id)
Definition
UserProfile.cs:70
UnityEngine.SocialPlatforms.Impl.UserProfile
Definition
UserProfile.cs:7
UnityEngine.Texture2D
Definition
Texture2D.cs:16
UnityEngine.SocialPlatforms.IUserProfile
Definition
IUserProfile.cs:7
System.ExceptionArgument.text
@ text
System.ExceptionArgument.name
@ name
System
Definition
__ComObject.cs:4
UnityEngine.SocialPlatforms.Impl
Definition
Achievement.cs:4
UnityEngine.SocialPlatforms.UserState
UserState
Definition
UserState.cs:7
source
UnityEngine.GameCenterModule
UnityEngine
SocialPlatforms
Impl
UserProfile.cs
Generated by
1.10.0