[Core] Use Vector for MethodInfo::arguments
This commit is contained in:
parent
cae3d722a3
commit
d9721954e6
18 changed files with 107 additions and 124 deletions
|
|
@ -3743,8 +3743,13 @@ void Node::_bind_methods() {
|
|||
|
||||
mi.name = "rpc";
|
||||
ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "rpc", &Node::_rpc_bind, mi);
|
||||
}
|
||||
|
||||
mi.arguments.push_front(PropertyInfo(Variant::INT, "peer_id"));
|
||||
{
|
||||
MethodInfo mi;
|
||||
|
||||
mi.arguments.push_back(PropertyInfo(Variant::INT, "peer_id"));
|
||||
mi.arguments.push_back(PropertyInfo(Variant::STRING_NAME, "method"));
|
||||
|
||||
mi.name = "rpc_id";
|
||||
ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "rpc_id", &Node::_rpc_id_bind, mi);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue