Add some older includes

This commit is contained in:
KiD Fearless 2019-10-11 18:56:44 -06:00
parent 636e037fe9
commit fe6f9660f2

View File

@ -295,6 +295,11 @@ stock int GetOutputCount(int index, const char[] output = "")
return count; return count;
} }
stock int GetOutputActionCount(int index, const char[] output = "")
{
return GetOutputCount(index, output);
}
/* * /* *
* Retrieves the target at the current index for the given output. * Retrieves the target at the current index for the given output.
* Not recommended as outputs aren't organized and aren't guarenteed to be the same between sessions and servers. * Not recommended as outputs aren't organized and aren't guarenteed to be the same between sessions and servers.
@ -337,7 +342,7 @@ stock bool GetOutputTarget(int index, const char[] output, int num, char[] targe
if(count++ == num) if(count++ == num)
{ {
strcopy(target, length, out.Target); strcopy(target, length, out.Target);
ret = true ret = true;
break; break;
} }
} }
@ -347,6 +352,11 @@ stock bool GetOutputTarget(int index, const char[] output, int num, char[] targe
return ret; return ret;
} }
stock bool GetOutputActionTarget(int index, const char[] output, int num, char[] target, int length = MEMBER_SIZE)
{
return GetOutputTarget(index, output, num, target, length);
}
/* * /* *
* Retrieves the input at the current index for the given output. * Retrieves the input at the current index for the given output.
* Not recommended as outputs aren't organized and aren't guarenteed to be the same between sessions and servers. * Not recommended as outputs aren't organized and aren't guarenteed to be the same between sessions and servers.
@ -439,7 +449,7 @@ stock bool GetOutputParameter(int index, const char[] output, int num, char[] pa
if(count++ == num) if(count++ == num)
{ {
strcopy(parameters, length, out.Parameters); strcopy(parameters, length, out.Parameters);
ret = true ret = true;
break; break;
} }
} }
@ -449,6 +459,11 @@ stock bool GetOutputParameter(int index, const char[] output, int num, char[] pa
return ret; return ret;
} }
stock bool GetOutputActionParameter(int index, const char[] output, int num, char[] parameters, int length = MEMBER_SIZE)
{
return GetOutputParameter(index, output, num, parameters, length);
}
/* * /* *
* Retrieves the output delay at the current index for the given output. * Retrieves the output delay at the current index for the given output.
* Not recommended as outputs aren't organized and aren't guarenteed to be the same between sessions and servers. * Not recommended as outputs aren't organized and aren't guarenteed to be the same between sessions and servers.
@ -497,6 +512,11 @@ stock float GetOutputDelay(int index, const char[] output, int num)
return delay; return delay;
} }
stock float GetOutputActionDelay(int index, const char[] output, int num)
{
return GetOutputDelay(index, output, num);
}
public SharedPlugin __pl_output_dump_parser = public SharedPlugin __pl_output_dump_parser =
{ {
name = "output_dump_parser", name = "output_dump_parser",