コード例 #1
0
 private int _GetOffsetOfMoveData_DeltaDeg()
 {
     var tempObj = new MoveData(); MoveData *ptr = &tempObj; var filedPtr = &(ptr->DeltaDeg); return((int)((long)filedPtr - (long)ptr));
 }
コード例 #2
0
 private int _GetOffsetOfMoveData_AngularSpd()
 {
     var tempObj = new MoveData(); MoveData *ptr = &tempObj; var filedPtr = &(ptr->AngularSpd); return((int)((long)filedPtr - (long)ptr));
 }