protected AddDeferredCommand ( int time, int a, int b, int c, int d, int e, int f ) : void | ||
time | int | |
a | int | |
b | int | |
c | int | |
d | int | |
e | int | |
f | int | |
return | void |
protected void AddDeferredCommand(int time, int a, int b, int c, int d, int e, int f)
{
var cmd = _deferredCommands.FirstOrDefault(o => o.TimeLeft == 0);
if (cmd != null)
{
cmd.TimeLeft = (uint)time * 10000;
cmd.A = a;
cmd.B = b;
cmd.C = c;
cmd.D = d;
cmd.E = e;
cmd.F = f;
}
}