|
@@ -3,6 +3,7 @@
|
|
|
|
|
|
#include <gdnative/array.h>
|
|
#include <gdnative/array.h>
|
|
|
|
|
|
|
|
+#include "Defs.hpp"
|
|
#include "String.hpp"
|
|
#include "String.hpp"
|
|
|
|
|
|
namespace godot {
|
|
namespace godot {
|
|
@@ -39,6 +40,11 @@ public:
|
|
|
|
|
|
Array(const PoolColorArray& a);
|
|
Array(const PoolColorArray& a);
|
|
|
|
|
|
|
|
+ template <class... Args>
|
|
|
|
+ static Array make(Args... args) {
|
|
|
|
+ return helpers::append_all(Array(), args...);
|
|
|
|
+ }
|
|
|
|
+
|
|
Variant& operator [](const int idx);
|
|
Variant& operator [](const int idx);
|
|
|
|
|
|
Variant operator [](const int idx) const;
|
|
Variant operator [](const int idx) const;
|