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

◆ OnConditionComplete()

void Terraria.Achievements.Achievement.OnConditionComplete ( AchievementCondition condition)
inlineprivate

Definition at line 146 of file Achievement.cs.

147 {
150 if (this._tracker == null && conditions != null)
151 {
152 string name = this.Name;
153 }
155 IntPtr invoke_impl;
156 if (onCompleted != null)
157 {
158 invoke_impl = onCompleted.invoke_impl;
159 IntPtr method_code = onCompleted.method_code;
160 IntPtr method = onCompleted.method;
161 }
162 bool flag = this.Name == "MARATHON_MEDALIST";
163 if (onCompleted == null)
164 {
165 }
166 Player localPlayer = Main.LocalPlayer;
167 if (invoke_impl == 0)
168 {
169 }
171 if (localUser != null)
172 {
174 if (invoke_impl != 0)
175 {
176 }
177 return;
178 }
179 }
class f__AnonymousType0<< Count > j__TPar
IPlatformAwardNotifier PlatformAwards
Definition LocalUser.cs:220
Achievement.AchievementCompleted OnCompleted
Dictionary< string, AchievementCondition > _conditions
static LocalUser FindLocalUserByPlayer(Player player)

References Terraria.Achievements.Achievement._completedCount, Terraria.Achievements.Achievement._conditions, Terraria.Achievements.Achievement._tracker, UserManagement.FindLocalUserByPlayer(), j__TPar, Terraria.Main.LocalPlayer, System.name, Terraria.Achievements.Achievement.Name, Terraria.Achievements.Achievement.OnCompleted, and LocalUser.PlatformAwards.