mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Reorganize sources and files (#414)
* Reorganize sources * Refactor * Remove relative paths * Renames * Fix gitignore * Remove stuff * Try fixing format script * Fix format * Fix format * Fix naming script * Test format * Fix format
This commit is contained in:

committed by
GitHub

parent
6a85e62406
commit
c47206617d
30
LEGO1/omni/include/mxstring.h
Normal file
30
LEGO1/omni/include/mxstring.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef MXSTRING_H
|
||||
#define MXSTRING_H
|
||||
|
||||
#include "mxcore.h"
|
||||
|
||||
// VTABLE: LEGO1 0x100dc110
|
||||
// SIZE 0x10
|
||||
class MxString : public MxCore {
|
||||
public:
|
||||
__declspec(dllexport) MxString(const MxString& p_str);
|
||||
__declspec(dllexport) virtual ~MxString();
|
||||
__declspec(dllexport) const MxString& operator=(const char* p_data);
|
||||
|
||||
MxString();
|
||||
MxString(const char*);
|
||||
void ToUpperCase();
|
||||
void ToLowerCase();
|
||||
MxString& operator=(const MxString& p_str);
|
||||
MxString operator+(const char* p_str);
|
||||
MxString& operator+=(const char* p_str);
|
||||
|
||||
inline MxS8 Compare(const MxString& p_str) const { return strcmp(m_data, p_str.m_data); }
|
||||
inline const char* GetData() const { return m_data; }
|
||||
|
||||
private:
|
||||
char* m_data; // 0x08
|
||||
MxU16 m_length; // 0x0c
|
||||
};
|
||||
|
||||
#endif // MXSTRING_H
|
Reference in New Issue
Block a user