private void initStats() {
if (this.stats != null) {
return;
}
StatSetProtoOrBuilder p = viaProto ? proto : builder;
this.stats = Maps.newHashMap();
for (StatProto statProto : p.getStatsList()) {
stats.put(statProto.getType(), new Stat(statProto));
}
}