Just dereference it:
int32 position = *iPos;
But the more elegant version is to use the &
operator to get a pointer to position
:
int32 position;
status = scriptData.GetInt32(&position);
1
solved How convert Int32* to Int32?
Just dereference it:
int32 position = *iPos;
But the more elegant version is to use the &
operator to get a pointer to position
:
int32 position;
status = scriptData.GetInt32(&position);
1
solved How convert Int32* to Int32?