public RESULT getCommandInfo(int commandIndex, out COMMAND_INFO info) { COMMAND_INFO_INTERNAL cOMMAND_INFO_INTERNAL = default(COMMAND_INFO_INTERNAL); RESULT rESULT = CommandReplay.FMOD_Studio_CommandReplay_GetCommandInfo(this.rawPtr, commandIndex, out cOMMAND_INFO_INTERNAL); if (rESULT != RESULT.OK) { info = default(COMMAND_INFO); return(rESULT); } info = cOMMAND_INFO_INTERNAL.createPublic(); return(rESULT); }
public RESULT getCommandInfo(int commandIndex, out COMMAND_INFO info) { COMMAND_INFO_INTERNAL internalInfo = new COMMAND_INFO_INTERNAL(); FMOD.RESULT result = FMOD_Studio_CommandReplay_GetCommandInfo(rawPtr, commandIndex, out internalInfo); if (result != FMOD.RESULT.OK) { info = new COMMAND_INFO(); return result; } info = internalInfo.createPublic(); return result; }