public void ApplyLoadoutServer(Loadout loadout, int bodyIndex) { if (!NetworkServer.active) { Debug.LogWarning("[Server] function 'System.Void RoR2.SkillLocator::ApplyLoadoutServer(RoR2.Loadout,System.Int32)' called on client"); return; } if (bodyIndex == -1) { return; } for (int i = 0; i < this.allSkills.Length; i++) { uint skillVariant = loadout.bodyLoadoutManager.GetSkillVariant(bodyIndex, i); GenericSkill genericSkill = this.allSkills[i]; genericSkill.SetBaseSkill(genericSkill.skillFamily.variants[(int)skillVariant].skillDef); } }
// Token: 0x0600171F RID: 5919 RVA: 0x000649EF File Offset: 0x00062BEF public bool ValueEquals(Loadout other) { return(this == other || (other != null && this.bodyLoadoutManager.ValueEquals(other.bodyLoadoutManager))); }
// Token: 0x0600171E RID: 5918 RVA: 0x000649DC File Offset: 0x00062BDC public void Copy(Loadout dest) { this.bodyLoadoutManager.Copy(dest.bodyLoadoutManager); }