Skip to content

add some dummies #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2020
Merged

Conversation

Disinterpreter
Copy link
Member

just more notifications

@qaisjp
Copy link
Contributor

qaisjp commented Jun 26, 2020

Can we do a stubs table instead?

local stubs = {"TextDrawSetSelectable", "SetObjectMaterial", ...}
for _, name in ipairs(stubs) do
    _G[name] = function() notImplemented(name) end
end

@Disinterpreter
Copy link
Member Author

Disinterpreter commented Jun 26, 2020

Can we do a stubs table instead?

local stubs = {"TextDrawSetSelectable", "SetObjectMaterial", ...}
for _, name in ipairs(stubs) do
    _G[name] = function() notImplemented(name) end
end

From the side of the code, yes, we can. But we must to see unimplemented functions and fill them. It is the reason why I have done that.

@qaisjp qaisjp merged commit 060ff98 into multitheftauto:develop Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants