36 lines
1.1 KiB
Java
36 lines
1.1 KiB
Java
package com.tencent.wxop.stat.event;
|
|
|
|
import android.content.Context;
|
|
import com.tencent.wxop.stat.StatGameUser;
|
|
import com.tencent.wxop.stat.StatSpecifyReportedInfo;
|
|
import com.tencent.wxop.stat.common.r;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class f extends e {
|
|
private StatGameUser a;
|
|
|
|
public f(Context context, int i, StatGameUser statGameUser, StatSpecifyReportedInfo statSpecifyReportedInfo) {
|
|
super(context, i, statSpecifyReportedInfo);
|
|
this.a = null;
|
|
this.a = statGameUser.m18clone();
|
|
}
|
|
|
|
@Override // com.tencent.wxop.stat.event.e
|
|
public EventType a() {
|
|
return EventType.MTA_GAME_USER;
|
|
}
|
|
|
|
@Override // com.tencent.wxop.stat.event.e
|
|
public boolean a(JSONObject jSONObject) {
|
|
StatGameUser statGameUser = this.a;
|
|
if (statGameUser == null) {
|
|
return false;
|
|
}
|
|
r.a(jSONObject, "wod", statGameUser.getWorldName());
|
|
r.a(jSONObject, "gid", this.a.getAccount());
|
|
r.a(jSONObject, "lev", this.a.getLevel());
|
|
return true;
|
|
}
|
|
}
|