本文整理汇总了C#中Track.method_1方法的典型用法代码示例。如果您正苦于以下问题:C# Track.method_1方法的具体用法?C# Track.method_1怎么用?C# Track.method_1使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Track
的用法示例。
在下文中一共展示了Track.method_1方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: method_5
private void method_5(Track<int, int[]> difficulty, Track<int, int> sp, Track<int, NotesAtOffset> notes)
{
foreach (int current in sp.Keys)
{
int num = this.calculateOffset(current);
int num2 = 0;
if (sp[current] == 0)
{
num2 = 1;
}
else
{
int num4 = 0;
if ((sp.Keys[sp.method_1(current + sp[current])] > current))
{
num4 = notes.Keys[notes.method_1(sp.Keys[sp.method_1(current + sp[current])] - 1)];
}
else
{
num4 = (current + sp[current]);
}
int num3 = this.calculateOffset(num4);
//int num3 = this.method_2((sp.Keys[sp.method_1(current + sp[current])] > current) ? notes.Keys[notes.method_1(sp.Keys[sp.method_1(current + sp[current])] - 1)] : (current + sp[current]));
num2 = (num3 - num);
}
//int num2 = (sp[current] == 0) ? 1 : (this.method_2((sp.Keys[sp.method_1(current + sp[current])] > current) ? notes.Keys[notes.method_1(sp.Keys[sp.method_1(current + sp[current])] - 1)] : (current + sp[current])) - num);
difficulty.Add(num, new int[]
{
num2,
notes.method_3(current, current + sp[current])
});
}
}