public int GetSongPartition(ArrangementName arrangementName, ArrangementType arrangementType) { switch (arrangementType) { case Sng.ArrangementType.Bass: songPartitionCount[3]++; return(songPartitionCount[3]); default: switch (arrangementName) { case RocksmithToolkitLib.Sng.ArrangementName.Lead: songPartitionCount[1]++; return(songPartitionCount[1]); case RocksmithToolkitLib.Sng.ArrangementName.Rhythm: songPartitionCount[2]++; return(songPartitionCount[2]); default: songPartitionCount[0]++; return(songPartitionCount[0]); } } ; }
public int GetSongPartition(ArrangementName arrangementName, ArrangementType arrangementType) { switch (arrangementType) { case ArrangementType.Bass: songPartitionCount[3]++; return(songPartitionCount[3]); default: switch (arrangementName) { case ArrangementName.Lead: songPartitionCount[1]++; return(songPartitionCount[1]); case ArrangementName.Rhythm: songPartitionCount[2]++; return(songPartitionCount[2]); default: //Combo songPartitionCount[0]++; return(songPartitionCount[0]); } } }
public string GetArrangementFileName(ArrangementName arrangementName, ArrangementType arrangementType) { if(arrangementType == ArrangementType.Vocal) return "vocals"; var name = arrangementName.ToString(); var count = GetSongPartition(arrangementName, arrangementType); if (count > 1) name += count.ToString(); return name; }
private void UpdateRouteMaskPath(ArrangementType arrangementType, ArrangementName arrangementName) { gbGameplayPath.Enabled = (arrangementType != ArrangementType.Vocal && arrangementType != ArrangementType.ShowLight) && currentGameVersion != GameVersion.RS2012; //Enabling routeMaskLeadRadio.Enabled = arrangementType == ArrangementType.Guitar && (arrangementName == ArrangementName.Combo || arrangementName == ArrangementName.Lead); routeMaskRhythmRadio.Enabled = arrangementType == ArrangementType.Guitar && (arrangementName == ArrangementName.Combo || arrangementName == ArrangementName.Rhythm); routeMaskBassRadio.Enabled = arrangementType == ArrangementType.Bass; //Auto-checking routeMaskLeadRadio.Checked = arrangementType == ArrangementType.Guitar && (arrangementName == ArrangementName.Combo || arrangementName == ArrangementName.Lead); routeMaskRhythmRadio.Checked = arrangementType == ArrangementType.Guitar && (arrangementName == ArrangementName.Combo || arrangementName == ArrangementName.Rhythm); routeMaskBassRadio.Checked = arrangementType == ArrangementType.Bass; }
public string GetArrangementFileName(ArrangementName arrangementName, ArrangementType arrangementType) { if (arrangementType == ArrangementType.Vocal) { return("vocals"); } var name = arrangementName.ToString(); var count = GetSongPartition(arrangementName, arrangementType); if (count > 1) { name += count.ToString(); } return(name); }
public int GetSongPartition(ArrangementName arrangementName, ArrangementType arrangementType) { switch (arrangementType) { case ArrangementType.Bass: songPartitionCount[3]++; return songPartitionCount[3]; default: switch (arrangementName) { case ArrangementName.Lead: songPartitionCount[1]++; return songPartitionCount[1]; case ArrangementName.Rhythm: songPartitionCount[2]++; return songPartitionCount[2]; default: //Combo songPartitionCount[0]++; return songPartitionCount[0]; } } }
public int GetSongPartition(ArrangementName arrangementName, ArrangementType arrangementType) { switch (arrangementType) { case Sng.ArrangementType.Bass: songPartitionCount[3]++; return songPartitionCount[3]; default: switch (arrangementName) { case RocksmithToolkitLib.Sng.ArrangementName.Lead: songPartitionCount[1]++; return songPartitionCount[1]; case RocksmithToolkitLib.Sng.ArrangementName.Rhythm: songPartitionCount[2]++; return songPartitionCount[2]; default: songPartitionCount[0]++; return songPartitionCount[0]; } }; }