LIBS += libnn_plCoin to your Omakefile.#include <nn/pl/CTR/pl_GameCoin.h> to your source code.
nn::fs::Initialize and nn::ptm::CTR::Initialize functions, and then call the nn::pl::CTR::InitializeGameCoin function.
nn::pl::CTR::InitializeGameCoin and nn::pl::CTR::FinalizeGameCoin functions do not support being called multiple times. nn::pl::CTR::InitializeGameCoin, the library will close after nn::pl::CTR::FinalizeGameCoin is called once.
nn::pl::ResultLackOfGameCoin, functions other than nn::pl::CTR::UseGameCoin only return actual success. For other results, nn::pl::ResultGameCoinDataReset is sometimes returned. This is handled as a success, even though it indicates that the Play Coin has been initialized because the data was corrupted or for some other reason. Check this if you want to notify the user that Play Coin has been initialized.
nn::pl::CTR::SetGameCoinCountForDebug function and the nn::pl::CTR::AddGameCoinCountForDebug function have been deprecated. CTR_SDK\tools\TargetTools\CTR-TS\Release\GameCoinSetter.[cia|csu]).
CONFIDENTIAL