We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
public class TrainRecord { public String student_id; } 这个类作为参数传入lua函数里面 这样的属性如何访问?再lua里面用TrainRecord.student_id访问不行
The text was updated successfully, but these errors were encountered:
注意 lua 的基本语法。lua 类成员的访问不是直接用 .,而是冒号 :,本质上是一个语法糖。
.
:
另外 demo 中也演示了。「注入 java 对象」就是。
Sorry, something went wrong.
No branches or pull requests
public class TrainRecord {
public String student_id;
}
这个类作为参数传入lua函数里面
这样的属性如何访问?再lua里面用TrainRecord.student_id访问不行
The text was updated successfully, but these errors were encountered: