Search
Duplicate

SDK Termination

생성일
2024/03/14 04:19
태그
After all usage of the plugin is finished, to clean up the resources, you can release the plugin resource by calling the Super::StoveSDKUnInit function of Super Glass to the UMyStoveSDKObject::StoveSDKUnInit function as shown in the code below.
MyStoveSDKObject.cpp
FStoveResult UMyStoveSDKObject::StoveSDKUnInit() { /*Add the 'walkthrough' codes here.*/ //SDK Termination FStoveResult ErrorResult = Super::StoveSDKUnInit(); if (ErrorResult.Result == STOVE_PC_NO_ERROR) { OnLog("[Success] StovePC_UnInit"); } else { OnLog("[Error] StovePC_UnInit, Result %d", ErrorResult.Result); } return ErrorResult; }
C++
복사