跳到主要内容

NRC_InstrDataPALENTER

指令 PALENTER 的数据类

class NRC_InstrDataPALENTER : public NRC_InstrDataBase
{
public:
NRC_InstrDataPALENTER() : id(1), moveType(1), vel(10), acc(10), dec(10), pl(0) {};
NRC_InstrDataPALENTER(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;
};

示例代码