mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-05 02:10:14 +03:00
Add RPC tests.
This commit is contained in:
@@ -70,6 +70,7 @@ private:
|
||||
Vector2 custom_position;
|
||||
Vector3 property_from_list;
|
||||
Vector2 dprop[3];
|
||||
int last_rpc_arg = 0;
|
||||
|
||||
public:
|
||||
// Constants.
|
||||
@@ -120,6 +121,11 @@ public:
|
||||
|
||||
BitField<Flags> test_bitfield(BitField<Flags> flags);
|
||||
|
||||
// RPC
|
||||
void test_rpc(int p_value);
|
||||
void test_send_rpc(int p_value);
|
||||
int return_last_rpc_arg();
|
||||
|
||||
// Property.
|
||||
void set_custom_position(const Vector2 &pos);
|
||||
Vector2 get_custom_position() const;
|
||||
|
||||
Reference in New Issue
Block a user