private int _GetOffsetOfMoveData_DeltaDeg() { var tempObj = new MoveData(); MoveData *ptr = &tempObj; var filedPtr = &(ptr->DeltaDeg); return((int)((long)filedPtr - (long)ptr)); }
private int _GetOffsetOfMoveData_AngularSpd() { var tempObj = new MoveData(); MoveData *ptr = &tempObj; var filedPtr = &(ptr->AngularSpd); return((int)((long)filedPtr - (long)ptr)); }