1,340 bytes added
, 02:55, 7 April 2015
Library for Nintendo Network Nintendo Figure Platform (amiibo).
==Functions==
===Core===
{| class="wikitable"
!Name
!Prototype
!Description
!Notes
|-
|nn::nfp::Initialize
|<code>int nn::nfp::Initialize(void);</code>
|Initializes the library when starting
|Needs to be called before anything else can be used
|-
|nn::nfp::Finalize
|<code>int nn::nfp::Finalize(void);</code>
|Finalizes the library when finished
|Needs to be reinitialized before functions can be used
|-
|nn::nfp::SetActivateEvent
|<code>int nn::nfp::SetActivateEvent(OSEvent *event);</code>
|Makes event for when a tag is detected
|Also need SetDeactivateEvent()
|-
|nn::nfp::SetDeactivateEvent
|<code>int nn::nfp::SetDeactivateEvent(OSEvent *event);</code>
|Makes event for when a tag is lost
|Also need SetActivateEvent()
|-
|nn::nfp::StartDetection
|<code>int nn::nfp::StartDetection(void);</code>
|Starts detecting tags
|Need to run SetActivateEvent() and SetDeactivateEvent()
|-
|nn::nfp::StopDetection
|<code>int nn::nfp::StopDetection(void);</code>
|Stops detecting tags
|
|-
|nn::nfp::Mount
|<code>int nn::nfp::Mount(void);</code>
|Mounts a detected tag
|Needs to be called after tag has been detected
|-
|nn::nfp::Unmount
|<code>int nn::nfp::Unmount(void);</code>
|Unmounts a detected tag
|If tag is lost or StopDetection is called, it's unmounted automatically
|}