public void Read(IDataInput param1, ICommandLookup lookup) { this.var_1035.Clear(); for (int i = param1.ReadInt(); i > 0; i--) { var tmp_0 = lookup.Lookup(param1) as class_617; tmp_0.Read(param1, lookup); this.var_1035.Add(tmp_0); } this.var_1936 = lookup.Lookup(param1) as class_601; this.var_1936.Read(param1, lookup); this.rewardType = param1.ReadShort(); param1.ReadShort(); }
public class_911(List <class_617> param1 = null, class_601 param2 = null, short param3 = 0) { if (param1 == null) { this.var_1035 = new List <class_617>(); } else { this.var_1035 = param1; } if (param2 == null) { this.var_1936 = new class_601(); } else { this.var_1936 = param2; } this.rewardType = param3; }