summaryrefslogtreecommitdiff
path: root/music/pokeredmusicdisasm/UnkEB.h
blob: ab11a6550aec973b5227002a0a27b4a678725a64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef UNKEB_H
#define UNKEB_H

#include "AbstractData.h"

// Represents an unknown opcode
class UnkEB : public AbstractData
{
public:
	// Constructors
	UnkEB();
	UnkEB(unsigned char* byte); // Parse Immidiately
	UnkEB(unsigned char code, bool); // Set Value

	// Getters / Setters
	unsigned char GetParam();
	void SetParam(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 param;
};

#endif