跳到主要内容

NRC_InstrDataPALSHIFT

指令 PALSHIFT 的数据类

class NRC_InstrDataPALSHIFT : public NRC_InstrDataBase
{
public:
NRC_InstrDataPALSHIFT() : id(1), moveType(1), vel(10), acc(10), dec(10), pl(0) {};
NRC_InstrDataPALSHIFT(int id, int moveType, int vel, int acc, int dec, int pl) : id(id), moveType(moveType), vel(vel), acc(acc), dec(dec), pl(pl) {};
virtual int NRC_GetInstrFromData(InstrData&);
int id;
int moveType;
int vel;
int acc;
int dec;
int pl;
};

示例代码