Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Structure MixArchive
- Implements IComparable ' Fix Array.Sort
- Public FileName As String ' The name
- Public Folder As String ' The folder the file is in
- Public fileSize As UInt32 ' File size is how many bytes the file is
- Public fileAddress As UInt32 ' File Address is the exact position of the files binary
- Public FileNameCRC As UInt32 ' FileNameCRC is an anti cheat method (a terrible idea by EA)
- Public FilePath As String ' For File added during runtime
- Public binary() As Byte
- Public CRC32 As String ' Unique to MIX2
- Public Function CompareTo(ByVal obj As Object) As Integer Implements System.IComparable.CompareTo
- Return Me.FileNameCRC.CompareTo(CType(obj, MixArchive).FileNameCRC)
- End Function
- End Structure
- Private FilesLoaded As New ArrayList
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement