public GGWaveType(NpcUtils.NpcClass npcClass_0, NpcUtils.NpcGroup npcGroup_0, int int_0, string string_0 = null) { Class13.lOBHd9Nzn7x2T(); base..ctor(npcClass_0, npcGroup_0, false); this.WaveNumber = int_0; this.Description = string_0; base.Id = Interlocked.Increment(ref NpcUtils.GGWaveType.LastGGId); NpcUtils.NpcById[base.Id] = this; }
protected NpcType(NpcUtils.NpcClass npcClass_0, NpcUtils.NpcGroup npcGroup_0, bool bool_0 = true) { Class13.lOBHd9Nzn7x2T(); base..ctor(); this.Class = npcClass_0; this.Group = npcGroup_0; if (bool_0) { this.Id = ((int)this.Group.Id << 16 | (int)this.Class.Id); NpcUtils.NpcById[this.Id] = this; } }
public override string ToString() { string format = "{0}{1} {2} {3}"; object[] array = new object[4]; int num = 0; NpcUtils.NpcGroup group = base.Group; array[num] = ((group != null) ? group.DisplayName : null); array[1] = this.WaveNumber; int num2 = 2; NpcUtils.NpcClass @class = base.Class; array[num2] = ((@class != null) ? @class.Name : null); array[3] = this.Description; return(string.Format(format, array)); }
public static NpcUtils.NpcType smethod_2(NpcUtils.NpcGroup npcGroup_0, NpcUtils.NpcClass npcClass_0) { return(NpcUtils.NpcType.smethod_5(npcGroup_0.ToString() + " " + npcClass_0.ToString())); }