Topic was automatically imported from the old Question2Answer platform.
Asked By
wyattb
In the API docs, e.g. Node — Godot Engine (3.0) documentation in English you see functions classified as virtual, const and Variant rpc ( String method ) vararg. I am trying to understand what that means in terms maybe of other languages
So I am guessing virtual classification is similar to abstract, and must be defined in your code (E.g. callbacks). But const or vararg classification I am not so sure. Any ideas?
How is that? It explains a lot.
You can’t modify Node per se, that’s why it’s const. rpc(“function_name”, <optional_args>) - that’s why it’s vararg. Unlimited arguments, first must be function, and then every other is arguments to that function.
Oen44 | 2018-09-23 10:21
Thanks for the clarification. I submitted it as an issue requiring clarification.