mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-10-18 21:16:24 +13:00
29 lines
598 B
C++
29 lines
598 B
C++
#ifndef UNKCODE_H
|
|
#define UNKCODE_H
|
|
|
|
#include "AbstractData.h"
|
|
|
|
// Represents an unknown opcode
|
|
class UnkCode : public AbstractData
|
|
{
|
|
public:
|
|
// Constructors
|
|
UnkCode();
|
|
UnkCode(unsigned char* byte); // Parse Immidiately
|
|
UnkCode(unsigned char code, bool); // Set Value
|
|
|
|
// Getters / Setters
|
|
unsigned char GetCode();
|
|
void SetCode(unsigned char value);
|
|
|
|
// Re-implemented
|
|
virtual std::string GenAsm();
|
|
virtual bool Parse(unsigned char* byte);
|
|
virtual bool IsValid(unsigned char* byte);
|
|
virtual unsigned int Arguments();
|
|
|
|
private:
|
|
unsigned char code;
|
|
};
|
|
|
|
#endif |