Skip to content
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

ALTV-469 Update cpp-sdk #330

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

ALTV-469 Update cpp-sdk #330

wants to merge 2 commits into from

Conversation

OlegTrofimov
Copy link
Contributor

Add HwidProtHash functions

Add HwidProtHash functions
{
V8_GET_ISOLATE_CONTEXT_RESOURCE();
V8_GET_THIS_BASE_OBJECT(con, alt::IConnectionInfo);
V8_RETURN_STRING(std::to_string(con->GetHwIdProtHash()));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тут to_string не надо. он и так строка

{
V8_GET_ISOLATE();
V8_GET_THIS_BASE_OBJECT(_this, IPlayer);
V8_RETURN_STRING(std::to_string(_this->GetHwidProtHash()));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тоже to_string

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