class
Godot::FileAccess
- Godot::FileAccess
- Godot::RefCounted
- Godot::Object
- Reference
- Object
Defined in:
libgodot/generated/classes/classes_part2.crConstructors
- .create_temp(mode_flags : ModeFlags | Int, prefix : String = "", extension : String = "", keep : Bool = false) : FileAccess
- .new(pointer : Pointer(Void) = Pointer(Void).null)
- .open(path : String, flags : ModeFlags | Int) : FileAccess
- .open_compressed(path : String, mode_flags : ModeFlags | Int, compression_mode : CompressionMode | Int = 0) : FileAccess
- .open_encrypted(path : String, mode_flags : ModeFlags | Int, key : Pointer(Void), iv : Pointer(Void)) : FileAccess
- .open_encrypted_with_pass(path : String, mode_flags : ModeFlags | Int, pass : String) : FileAccess
Class Method Summary
- .file_exists(path : String) : Bool
-
.file_exists?(path : String) : Bool
Predicate alias for
#file_exists - .get_access_time(file : String) : Int64
- .get_extended_attribute(file : String, attribute_name : String) : Pointer(Void)
- .get_extended_attribute_string(file : String, attribute_name : String) : String
- .get_extended_attributes_list(file : String) : Pointer(Void)
- .get_file_as_bytes(path : String) : Pointer(Void)
- .get_file_as_string(path : String) : String
- .get_hidden_attribute(file : String) : Bool
-
.get_hidden_attribute?(file : String) : Bool
Predicate alias for
#get_hidden_attribute - .get_md5(path : String) : String
- .get_modified_time(file : String) : Int64
- .get_open_error : Godot::Error
- .get_read_only_attribute(file : String) : Bool
-
.get_read_only_attribute?(file : String) : Bool
Predicate alias for
#get_read_only_attribute - .get_sha256(path : String) : String
- .get_size(file : String) : Int64
- .get_unix_permissions(file : String) : UnixPermissionFlags
- .remove_extended_attribute(file : String, attribute_name : String) : Godot::Error
- .set_extended_attribute(file : String, attribute_name : String, data : Pointer(Void)) : Godot::Error
- .set_extended_attribute_string(file : String, attribute_name : String, data : String) : Godot::Error
- .set_hidden_attribute(file : String, hidden : Bool) : Godot::Error
- .set_read_only_attribute(file : String, ro : Bool) : Godot::Error
- .set_unix_permissions(file : String, permissions : UnixPermissionFlags | Int) : Godot::Error
Instance Method Summary
-
#big_endian
Property
#big_endiangetter -
#big_endian=(val)
Property
#big_endiansetter -
#big_endian? : Bool
Predicate alias for
#is_big_endian - #close : Void
-
#create_temp(mode_flags : ModeFlags | Int, prefix : String = "", extension : String = "", keep : Bool = false) : FileAccess
Instance convenience delegator for static method
#create_temp - #eof_reached : Bool
-
#eof_reached? : Bool
Predicate alias for
#eof_reached -
#file_exists(path : String) : Bool
Instance convenience delegator for static method
#file_exists -
#file_exists?(path : String) : Bool
Instance convenience delegator for static predicate
#file_exists - #flush : Void
- #get_16 : Int64
- #get_32 : Int64
- #get_64 : Int64
- #get_8 : Int64
-
#get_access_time(file : String) : Int64
Instance convenience delegator for static method
#get_access_time - #get_as_text : String
- #get_buffer(length : Int64) : Pointer(Void)
- #get_csv_line(delim : String = ",") : Pointer(Void)
- #get_double : Float64
- #get_error : Godot::Error
-
#get_extended_attribute(file : String, attribute_name : String) : Pointer(Void)
Instance convenience delegator for static method
#get_extended_attribute -
#get_extended_attribute_string(file : String, attribute_name : String) : String
Instance convenience delegator for static method
#get_extended_attribute_string -
#get_extended_attributes_list(file : String) : Pointer(Void)
Instance convenience delegator for static method
#get_extended_attributes_list -
#get_file_as_bytes(path : String) : Pointer(Void)
Instance convenience delegator for static method
#get_file_as_bytes -
#get_file_as_string(path : String) : String
Instance convenience delegator for static method
#get_file_as_string - #get_float : Float64
- #get_half : Float64
-
#get_hidden_attribute(file : String) : Bool
Instance convenience delegator for static method
#get_hidden_attribute -
#get_hidden_attribute?(file : String) : Bool
Instance convenience delegator for static predicate
#get_hidden_attribute - #get_length : Int64
- #get_line : String
-
#get_md5(path : String) : String
Instance convenience delegator for static method
#get_md5 -
#get_modified_time(file : String) : Int64
Instance convenience delegator for static method
#get_modified_time -
#get_open_error : Godot::Error
Instance convenience delegator for static method
#get_open_error - #get_pascal_string : String
- #get_path : String
- #get_path_absolute : String
- #get_position : Int64
-
#get_read_only_attribute(file : String) : Bool
Instance convenience delegator for static method
#get_read_only_attribute -
#get_read_only_attribute?(file : String) : Bool
Instance convenience delegator for static predicate
#get_read_only_attribute - #get_real : Float64
-
#get_sha256(path : String) : String
Instance convenience delegator for static method
#get_sha256 -
#get_size(file : String) : Int64
Instance convenience delegator for static method
#get_size -
#get_unix_permissions(file : String) : UnixPermissionFlags
Instance convenience delegator for static method
#get_unix_permissions - #get_var(allow_objects : Bool = false) : Pointer(Void)
- #is_big_endian : Bool
-
#is_big_endian? : Bool
Predicate alias for
#is_big_endian - #is_open : Bool
-
#is_open? : Bool
Predicate alias for
#is_open -
#open(path : String, flags : ModeFlags | Int) : FileAccess
Instance convenience delegator for static method
#open -
#open? : Bool
Predicate alias for
#is_open -
#open_compressed(path : String, mode_flags : ModeFlags | Int, compression_mode : CompressionMode | Int = 0) : FileAccess
Instance convenience delegator for static method
#open_compressed -
#open_encrypted(path : String, mode_flags : ModeFlags | Int, key : Pointer(Void), iv : Pointer(Void)) : FileAccess
Instance convenience delegator for static method
#open_encrypted -
#open_encrypted_with_pass(path : String, mode_flags : ModeFlags | Int, pass : String) : FileAccess
Instance convenience delegator for static method
#open_encrypted_with_pass -
#remove_extended_attribute(file : String, attribute_name : String) : Godot::Error
Instance convenience delegator for static method
#remove_extended_attribute - #resize(length : Int64) : Godot::Error
- #seek(position : Int64) : Void
- #seek_end(position : Int64 = 0_i64) : Void
- #set_big_endian(big_endian : Bool) : Void
-
#set_extended_attribute(file : String, attribute_name : String, data : Pointer(Void)) : Godot::Error
Instance convenience delegator for static method
#set_extended_attribute -
#set_extended_attribute_string(file : String, attribute_name : String, data : String) : Godot::Error
Instance convenience delegator for static method
#set_extended_attribute_string -
#set_hidden_attribute(file : String, hidden : Bool) : Godot::Error
Instance convenience delegator for static method
#set_hidden_attribute -
#set_read_only_attribute(file : String, ro : Bool) : Godot::Error
Instance convenience delegator for static method
#set_read_only_attribute -
#set_unix_permissions(file : String, permissions : UnixPermissionFlags | Int) : Godot::Error
Instance convenience delegator for static method
#set_unix_permissions - #store_16(value : Int64) : Bool
-
#store_16?(value : Int64) : Bool
Predicate alias for
#store_16 - #store_32(value : Int64) : Bool
-
#store_32?(value : Int64) : Bool
Predicate alias for
#store_32 - #store_64(value : Int64) : Bool
-
#store_64?(value : Int64) : Bool
Predicate alias for
#store_64 - #store_8(value : Int64) : Bool
-
#store_8?(value : Int64) : Bool
Predicate alias for
#store_8 - #store_buffer(buffer : Pointer(Void)) : Bool
-
#store_buffer?(buffer : Pointer(Void)) : Bool
Predicate alias for
#store_buffer - #store_csv_line(values : Pointer(Void), delim : String = ",") : Bool
-
#store_csv_line?(values : Pointer(Void), delim : String = ",") : Bool
Predicate alias for
#store_csv_line - #store_double(value : Float64) : Bool
-
#store_double?(value : Float64) : Bool
Predicate alias for
#store_double - #store_float(value : Float64) : Bool
-
#store_float?(value : Float64) : Bool
Predicate alias for
#store_float - #store_half(value : Float64) : Bool
-
#store_half?(value : Float64) : Bool
Predicate alias for
#store_half - #store_line(line : String) : Bool
-
#store_line?(line : String) : Bool
Predicate alias for
#store_line - #store_pascal_string(string : String) : Bool
-
#store_pascal_string?(string : String) : Bool
Predicate alias for
#store_pascal_string - #store_real(value : Float64) : Bool
-
#store_real?(value : Float64) : Bool
Predicate alias for
#store_real - #store_string(string : String) : Bool
-
#store_string?(string : String) : Bool
Predicate alias for
#store_string - #store_var(value : Pointer(Void), full_objects : Bool = false) : Bool
-
#store_var?(value : Pointer(Void), full_objects : Bool = false) : Bool
Predicate alias for
#store_var
Instance methods inherited from class Godot::RefCounted
destroy : Void
destroy,
get_reference_count : Int64
get_reference_count,
init_ref : Bool
init_ref,
init_ref? : Bool
init_ref?,
reference : Bool
reference,
reference? : Bool
reference?,
unreference : Bool
unreference,
unreference? : Bool
unreference?
Constructor methods inherited from class Godot::RefCounted
new(pointer : Pointer(Void) = Pointer(Void).null)
new
Instance methods inherited from class Godot::Object
==(other : Godot::Object) : Bool==(other : Nil) : Bool ==, _enter_tree : Void _enter_tree, _exit_tree : Void _exit_tree, _godot_call_tool_button(button_name : String) : Void _godot_call_tool_button, _godot_call_virtual(method_name : String, delta : Float64) : Void _godot_call_virtual, _godot_call_virtual_with_data(method_name : String, args : Pointer(Pointer(Void)), ret : Pointer(Void)) : Void _godot_call_virtual_with_data, _godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void _godot_get_property, _godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void _godot_set_property, _physics_process(delta : Float64) : Void _physics_process, _process(delta : Float64) : Void _process, _ready : Void _ready, add_user_signal(signal : String, arguments : Pointer(Void)) : Void add_user_signal, alive? : Bool alive?, await_signal(signal_name : String, timeout_sec : Float64 | Nil = nil) : Array(Variant) await_signal, blocking_signals? : Bool blocking_signals?, call(method : String, *args) : Pointer(Void) call, call_bool(method : String, *args) : Bool call_bool, call_deferred(method : String, *args) : Pointer(Void) call_deferred, call_f64(method : String, *args) : Float64 call_f64, call_i64(method : String, *args) : Int64 call_i64, call_obj(method : String, *args) : Node | Nil call_obj, call_obj_as(type : T.class, method : String, *args) : T | Nil forall T call_obj_as, call_str(method : String, *args) : String call_str, callv(method : String, arg_array : Pointer(Void)) : Pointer(Void) callv, can_translate_messages : Bool can_translate_messages, can_translate_messages? : Bool can_translate_messages?, cancel_free : Void cancel_free, check_alive! : Void check_alive!, class?(godot_class : String) : Bool class?, connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, callback : Proc(Array(Variant), Void) | Nil = nil) : SignalSubscription
connect(signal_name : String, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, &block : Array(Variant) -> Void) : SignalSubscription
connect(signal_name : Symbol, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None, &block : Array(Variant) -> Void) : SignalSubscription
connect(signal_name : String, listener_target : Godot::Object, method_name : Symbol, flags : Godot::ConnectFlags = ::Godot::ConnectFlags::None) : SignalSubscription
connect(signal : String, callable : Pointer(Void), flags : Int64 = 0_i64) : Godot::Error connect, connect_one_shot(signal_name : String, &block : Array(Variant) -> Void) : SignalSubscription connect_one_shot, connected?(signal : String, callable : Pointer(Void)) : Bool connected?, destroy : Void destroy, destroyed? : Bool destroyed?, disconnect(signal : String, callable : Pointer(Void)) : Void
disconnect(signal_name : String) : Void disconnect, editor_hint? : Bool editor_hint?, emit_property_list_changed : Void emit_property_list_changed, emit_script_changed : Void emit_script_changed, emit_signal(name : String) : Void
emit_signal(name : String, *args) : Void emit_signal, explicitly_freed? : Bool explicitly_freed?, free : Void free, get(property : String) : Pointer(Void) get, get_class : String get_class, get_incoming_connections : Pointer(Void) get_incoming_connections, get_indexed(property_path : NodePath | String) : Pointer(Void) get_indexed, get_instance_id : Int64 get_instance_id, get_meta(name : String, default : Pointer(Void) | Nil = nil) : Pointer(Void) get_meta, get_meta_list : Pointer(Void) get_meta_list, get_method_argument_count(method : String) : Int64 get_method_argument_count, get_method_list : Pointer(Void) get_method_list, get_property_list : Pointer(Void) get_property_list, get_script : Pointer(Void) get_script, get_signal_connection_list(signal : String) : Pointer(Void) get_signal_connection_list, get_signal_list : Pointer(Void) get_signal_list, get_translation_domain : String get_translation_domain, has_connections(signal : String) : Bool has_connections, has_connections?(signal : String) : Bool has_connections?, has_meta(name : String) : Bool has_meta, has_meta?(name : String) : Bool has_meta?, has_method(method : String) : Bool has_method, has_method?(method : String) : Bool has_method?, has_signal(signal : String) : Bool has_signal, has_signal?(signal_name : String) : Bool has_signal?, has_user_signal(signal : String) : Bool has_user_signal, has_user_signal?(signal : String) : Bool has_user_signal?, hash(hasher) hash, if_alive : self | Nil if_alive, instance_id : UInt64 instance_id, is_blocking_signals : Bool is_blocking_signals, is_blocking_signals? : Bool is_blocking_signals?, is_class(godot_class : String) : Bool is_class, is_class?(godot_class : String) : Bool is_class?, is_connected(signal : String, callable : Pointer(Void)) : Bool is_connected, is_connected?(signal : String, callable : Pointer(Void)) : Bool is_connected?, is_queued_for_deletion : Bool is_queued_for_deletion, is_queued_for_deletion? : Bool is_queued_for_deletion?, is_valid? : Bool is_valid?, link_class_script : Void link_class_script, notification(what : Int64, reversed : Bool = false) : Void notification, notify_property_list_changed : Void notify_property_list_changed, pointer : Pointer(Void) pointer, pointer=(val : Pointer(Void)) pointer=, print(*args) print, printerr(*args) printerr, property_can_revert(property : String) : Bool property_can_revert, property_can_revert?(property : String) : Bool property_can_revert?, property_get_revert(property : String) : Pointer(Void) property_get_revert, property_list_changed : Godot::TypedSignal() property_list_changed, puts(*args) puts, queued_for_deletion? : Bool queued_for_deletion?, remove_meta(name : String) : Void remove_meta, remove_user_signal(signal : String) : Void remove_user_signal, script_changed : Godot::TypedSignal() script_changed, set(property : String, value : Pointer(Void)) : Void set, set_block_signals(enable : Bool) : Void set_block_signals, set_deferred(property : String, value : Pointer(Void)) : Void set_deferred, set_indexed(property_path : NodePath | String, value : Pointer(Void)) : Void set_indexed, set_message_translation(enable : Bool) : Void set_message_translation, set_meta(name : String, value : Pointer(Void)) : Void set_meta, set_script(script : Pointer(Void)) : Void set_script, set_translation_domain(domain : String) : Void set_translation_domain, signal(name : String) : Godot::BoundSignal
signal(sym : Symbol) : Godot::BoundSignal signal, signal_connection_count(signal_name : String) : Int32 signal_connection_count, signal_target_id : UInt64 signal_target_id, to_s(io : IO) : Void to_s, to_string : String to_string, to_unsafe : Pointer(Void) to_unsafe, tr(message : String, context : String = "") : String tr, tr_n(message : String, plural_message : String, n : Int64, context : String = "") : String tr_n
Constructor methods inherited from class Godot::Object
new(pointer : Pointer(Void) = Pointer(Void).null)
new
Class methods inherited from class Godot::Object
_godot_has_virtual_method(method_name : String) : Bool
_godot_has_virtual_method,
find_script_path_for_class(target_cls : String) : String
find_script_path_for_class,
is_instance_id_valid(id : Int | UInt64) : Bool
is_instance_id_valid
Constructor Detail
Class Method Detail
Instance Method Detail
Instance convenience delegator for static method #create_temp
Instance convenience delegator for static method #get_open_error
Instance convenience delegator for static method #open_compressed
Instance convenience delegator for static method #open_encrypted
Instance convenience delegator for static method #open_encrypted_with_pass
Instance convenience delegator for static method #set_extended_attribute
Instance convenience delegator for static method #set_extended_attribute_string
Predicate alias for #store_var