mtasa-blue
mtasa-blue copied to clipboard
Appendum #3574 - list of values
The point of this PR is to create a type for ArgumentParser that will accept a tuple/CLuaMultiReturn:
bool CLuaSomeDefs::SomeFunc(int a, CLuaMultiReturn<bool, bool, bool> args) noexcept
{
// Guarantee that `args` will store 3 bools
return CStaticFunctionDefinitions::DoSomethingWith(a, args.Get(0), args.Get(1), args.Get(2));
}
Is this still a draft?
Is this still a draft?
Yeah, I got stuck with this
This draft pull request is stale because it has been open for at least 90 days with no activity. Please continue on your draft pull request or it will be closed in 30 days automatically.
Im not interested in advancing this PR further anymore. If someone wants to refresh it, feel free to do so.