Urho
1.0.0.0
Urho.UrhoObject
Urho.IDeserializer
Urho.ISerializer
%File opened either through the filesystem or from within a package file.
To be added.
Constructor
1.0.0.0
Pointer to the raw unmanaged Urho object.
Constructs a new instance of File, given a raw pointer to an unmanaged object
This creates a new managed wrapper for the type using the raw pointer to an unmanaged object.
Objects that are created in this fashion get registered with the UrhoSharp runtime.
This is intended to be used by the UrhoSharp runtime, and is not intended to be used by users.
Constructor
1.0.0.0
The context that this object will be attached to.
Creates an instance of File that is attached to an execution context.
This creates an instance of File attached to the specified execution context.
Constructor
1.0.0.0
Pass UrhoObjectFlag.Empty.
Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.
This constructor should be invoked by your code if you provide your own constructor that sets the handle field.
This essentially circumvents the default path that creates a new object and sets the handle and does not call RegisterObject on the target, you must do this on your own constructor.
You would typically chain to this constructor from your own, and then set the handle to the unmanaged object from your code, and then register your object.
Constructor
1.0.0.0
The context that this object will be attached to.
To be added.
To be added.
Creates an instance of File that is attached to an execution context.
This creates an instance of File attached to the specified execution context.
Constructor
1.0.0.0
The context that this object will be attached to.
To be added.
To be added.
Creates an instance of File that is attached to an execution context.
This creates an instance of File attached to the specified execution context.
Property
1.0.0.0
Urho.StringHash
Urho's type system base type.
StringHash representing the base type for this Urho type.
This returns the Urho type system base type and is surfaced for low-level Urho code.
Property
1.0.0.0
System.UInt32
Return a checksum of the file contents using the SDBM hash algorithm.
To be added.
To be added.
Method
1.0.0.0
System.Void
Close the file.
To be added.
Property
1.0.0.0
System.IntPtr
Return the file handle.
To be added.
To be added.
Method
1.0.0.0
System.Void
Flush any buffered output to the file.
To be added.
Method
1.0.0.0
System.Boolean
Return whether is open.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
Return whether the file originates from a package.
To be added.
To be added.
Property
1.0.0.0
Urho.FileMode
Return the open mode.
To be added.
To be added.
Property
1.0.0.0
System.String
Return the file name.
Or
Change the file name. Used by the resource system.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
Open a filesystem file. Return true if successful.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
Open from within a package file. Return true if successful.
To be added.
To be added.
Method
1.0.0.0
System.UInt32
To be added.
To be added.
Read bytes from the file. Return number of bytes actually read.
To be added.
To be added.
Method
1.0.0.0
System.UInt32
To be added.
Set position from the beginning of the file.
To be added.
To be added.
Property
1.0.0.0
Urho.StringHash
Urho's type system type.
StringHash representing the type for this C# type.
This returns the Urho's type and is surfaced for low-level Urho code.
Property
1.0.0.0
System.String
Urho's low-level type name.
Stringified low-level type name.
Property
1.0.0.0
System.String
Urho's low-level type name, accessible as a static method.
Stringified low-level type name.
Property
1.0.0.0
Urho.StringHash
To be added.
To be added.
To be added.
Method
1.0.0.0
System.UInt32
To be added.
To be added.
Write bytes to the file. Return number of bytes actually written.
To be added.
To be added.