// Token: 0x06002F7E RID: 12158 RVA: 0x000B6E20 File Offset: 0x000B5020 public bool Contains <TArmorModel>(TArmorModel model) where TArmorModel : global::ArmorModel, new() { if (!model) { return(false); } if (!this.awake) { global::ArmorModelGroup defaultArmorModelGroup = this.defaultArmorModelGroup; return(defaultArmorModelGroup && defaultArmorModelGroup.GetArmorModel <TArmorModel>() == model); } return(this.models.GetArmorModel <TArmorModel>() == model); }
// Token: 0x06002F7F RID: 12159 RVA: 0x000B6E94 File Offset: 0x000B5094 public T GetArmorModel <T>() where T : global::ArmorModel, new() { if (this.awake) { return(this.models.GetArmorModel <T>()); } global::ArmorModelGroup defaultArmorModelGroup = this.defaultArmorModelGroup; if (defaultArmorModelGroup) { return(defaultArmorModelGroup.GetArmorModel <T>()); } return((T)((object)null)); }