|
virtual Error | put_data (const uint8_t *p_data, int p_bytes)=0 |
| put a whole chunk of data, blocking until it sent
|
|
virtual Error | put_partial_data (const uint8_t *p_data, int p_bytes, int &r_sent)=0 |
| put as much data as possible, without blocking.
|
|
virtual Error | get_data (uint8_t *p_buffer, int p_bytes)=0 |
| read p_bytes of data, if p_bytes > available, it will block
|
|
virtual Error | get_partial_data (uint8_t *p_buffer, int p_bytes, int &r_received)=0 |
| read as much data as p_bytes into buffer, if less was read, return in r_received
|
|
virtual int | get_available_bytes () const =0 |
|
void | set_big_endian (bool p_enable) |
|
bool | is_big_endian_enabled () const |
|
void | put_8 (int8_t p_val) |
|
void | put_u8 (uint8_t p_val) |
|
void | put_16 (int16_t p_val) |
|
void | put_u16 (uint16_t p_val) |
|
void | put_32 (int32_t p_val) |
|
void | put_u32 (uint32_t p_val) |
|
void | put_64 (int64_t p_val) |
|
void | put_u64 (uint64_t p_val) |
|
void | put_float (float p_val) |
|
void | put_double (double p_val) |
|
void | put_utf8_string (const String &p_string) |
|
void | put_var (const Variant &p_variant) |
|
uint8_t | get_u8 () |
|
int8_t | get_8 () |
|
uint16_t | get_u16 () |
|
int16_t | get_16 () |
|
uint32_t | get_u32 () |
|
int32_t | get_32 () |
|
uint64_t | get_u64 () |
|
int64_t | get_64 () |
|
float | get_float () |
|
float | get_double () |
|
String | get_string (int p_bytes) |
|
String | get_utf8_string (int p_bytes) |
|
Variant | get_var () |
|
_FORCE_INLINE_ bool | is_referenced () const |
|
bool | init_ref () |
|
void | reference () |
|
bool | unreference () |
|
int | reference_get_count () const |
|
_FORCE_INLINE_ void | _change_notify (const char *p_what="") |
|
bool | _is_gpl_reversed () const |
|
_FORCE_INLINE_ ObjectID | get_instance_ID () const |
|
void | add_change_receptor (Object *p_receptor) |
|
void | remove_change_receptor (Object *p_receptor) |
|
template<class T > |
T * | cast_to () |
|
template<class T > |
const T * | cast_to () const |
|
virtual String | get_type () const |
|
virtual String | get_save_type () const |
|
virtual bool | is_type (const String &p_type) const |
|
virtual bool | is_type_ptr (void *p_ptr) const |
|
_FORCE_INLINE_ const StringName & | get_type_name () const |
|
void | set (const StringName &p_name, const Variant &p_value, bool *r_valid=NULL) |
|
Variant | get (const StringName &p_name, bool *r_valid=NULL) const |
|
void | get_property_list (List< PropertyInfo > *p_list, bool p_reversed=false) const |
|
bool | has_method (const StringName &p_method) const |
|
void | get_method_list (List< MethodInfo > *p_list) const |
|
Variant | callv (const StringName &p_method, const Array &p_args) |
|
virtual Variant | call (const StringName &p_method, const Variant **p_args, int p_argcount, Variant::CallError &r_error) |
|
virtual void | call_multilevel (const StringName &p_method, const Variant **p_args, int p_argcount) |
|
virtual void | call_multilevel_reversed (const StringName &p_method, const Variant **p_args, int p_argcount) |
|
Variant | call (const StringName &p_name, VARIANT_ARG_LIST) |
|
void | call_multilevel (const StringName &p_name, VARIANT_ARG_LIST) |
|
void | notification (int p_notification, bool p_reversed=false) |
|
virtual Variant | getvar (const Variant &p_key, bool *r_valid=NULL) const |
|
virtual void | setvar (const Variant &p_key, const Variant &p_value, bool *r_valid=NULL) |
|
void | set_script (const RefPtr &p_script) |
|
RefPtr | get_script () const |
|
bool | has_meta (const String &p_name) const |
|
void | set_meta (const String &p_name, const Variant &p_value) |
|
Variant | get_meta (const String &p_name) const |
|
void | get_meta_list (List< String > *p_list) const |
|
void | set_script_instance (ScriptInstance *p_instance) |
|
_FORCE_INLINE_ ScriptInstance * | get_script_instance () const |
|
void | add_user_signal (const MethodInfo &p_signal) |
|
void | emit_signal (const StringName &p_name, VARIANT_ARG_LIST) |
|
void | emit_signal (const StringName &p_name, const Variant **p_args, int p_argcount) |
|
void | get_signal_list (List< MethodInfo > *p_signals) const |
|
void | get_signal_connection_list (const StringName &p_signal, List< Connection > *p_connections) const |
|
void | get_all_signal_connections (List< Connection > *p_connections) const |
|
Error | connect (const StringName &p_signal, Object *p_to_object, const StringName &p_to_method, const Vector< Variant > &p_binds=Vector< Variant >(), uint32_t p_flags=0) |
|
void | disconnect (const StringName &p_signal, Object *p_to_object, const StringName &p_to_method) |
|
bool | is_connected (const StringName &p_signal, Object *p_to_object, const StringName &p_to_method) const |
|
void | call_deferred (const StringName &p_method, VARIANT_ARG_LIST) |
|
void | set_block_signals (bool p_block) |
|
bool | is_blocking_signals () const |
|
Variant::Type | get_static_property_type (const StringName &p_property, bool *r_valid=NULL) const |
|
virtual void | get_translatable_strings (List< String > *p_strings) const |
|
virtual void | get_argument_options (const StringName &p_function, int p_idx, List< String > *r_options) const |
|
StringName | XL_MESSAGE (const StringName &p_message) const |
|
StringName | tr (const StringName &p_message) const |
|
bool | is_queued_for_deletion () const |
|
_FORCE_INLINE_ void | set_message_translation (bool p_enable) |
|
_FORCE_INLINE_ bool | can_translate_messages () const |
|
void | clear_internal_resource_paths () |
|
|
Error | _put_data (const DVector< uint8_t > &p_data) |
|
Array | _put_partial_data (const DVector< uint8_t > &p_data) |
|
Array | _get_data (int p_bytes) |
|
Array | _get_partial_data (int p_bytes) |
|
virtual bool | _use_builtin_script () const |
|
virtual void | _initialize_typev () |
|
virtual bool | _setv (const StringName &p_name, const Variant &p_property) |
|
virtual bool | _getv (const StringName &p_name, Variant &r_property) const |
|
virtual void | _get_property_listv (List< PropertyInfo > *p_list, bool p_reversed) const |
|
virtual void | _notificationv (int p_notification, bool p_reversed) |
|
bool | _set (const StringName &p_name, const Variant &p_property) |
|
bool | _get (const StringName &p_name, Variant &r_property) const |
|
void | _get_property_list (List< PropertyInfo > *p_list) const |
|
void | _notification (int p_notification) |
|
void | cancel_delete () |
|
virtual void | _changed_callback (Object *p_changed, const char *p_prop) |
|
Variant | _call_bind (const Variant **p_args, int p_argcount, Variant::CallError &r_error) |
|
Variant | _call_deferred_bind (const Variant **p_args, int p_argcount, Variant::CallError &r_error) |
|
virtual const StringName * | _get_type_namev () const |
|
DVector< String > | _get_meta_list_bind () const |
|
Array | _get_property_list_bind () const |
|
Array | _get_method_list_bind () const |
|
void | _clear_internal_resource_paths (const Variant &p_var) |
|