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

[l4d_tank_control_eq] Update #859

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

[l4d_tank_control_eq] Update #859

wants to merge 9 commits into from

Conversation

cH1yoi
Copy link
Contributor

@cH1yoi cH1yoi commented Dec 22, 2024

Keep the original logic, add more API to control the tank.

@A1mDev
Copy link
Contributor

A1mDev commented Dec 22, 2024

Comments in chinese, excellent =)

@apples1949
Copy link
Contributor

Remove code comments or change the English, otherwise it may not be passed

@cH1yoi
Copy link
Contributor Author

cH1yoi commented Dec 23, 2024

Remove code comments or change the English, otherwise it may not be passed

Remove chinese comments

Add missing translations
}

public int Native_GetWhosHadTank(Handle plugin, int numParams)
Copy link
Contributor

Choose a reason for hiding this comment

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

Tag public can be stripped cuz it's not necessary. Same as other non-forward functions.

public int Native_GetWhosHadTank(Handle plugin, int numParams)
{
return view_as<int>(CloneHandle(h_whosHadTank, plugin));
Copy link
Contributor

Choose a reason for hiding this comment

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

view_as<int> in not necessary.

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.

4 participants