Translations:Amiibo drops/6/fr: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
Echocolat (talk | contribs)
Created page with "À chaque fois qu'un amiibo est enregistré: *AmiiboMgr détermine si il devrait réinitialiser l'historique d'utilisations quotidienne de l'amiibo (stocké dans le flag Amiib..."
 
(No difference)

Latest revision as of 13:07, 14 June 2022

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Amiibo drops)
Whenever an amiibo is registered: 
*AmiiboMgr determines if it should reset its daily amiibo use history (stored in the AmiiboTouchHistory flag)<ref>0x710064B3C8</ref>.
**If less than 86400 seconds (1 day) have elapsed since the game was launched, don't do anything.{{check}}
**AmiiboMgr then computes <code>10000 * now.year + 100 * now.month + now.day</code>. If the value is different from AmiiboLastTouchDate (which would mean that a day has elapsed), the AmiiboTouchHistory array is cleared.
*An entry for the scanned amiibo is inserted into AmiiboTouchHistory. Only the last 100 entries are kept.
*For a first time scan, a new entry is inserted into AmiiboTouchHistoryTotal (only the last 200 entries are kept). Otherwise, the scan count is incremented by updating the existing entry.
*Finally, AmiiboLastTouchDate is set to the current date.

À chaque fois qu'un amiibo est enregistré:

  • AmiiboMgr détermine si il devrait réinitialiser l'historique d'utilisations quotidienne de l'amiibo (stocké dans le flag AmiiboTouchHistory)[1].
    • Si moins de 86400 secondes (1 jour) se sont écoulées depuis que le jeu a été lancé, ne fait rien du tout.[check]
    • AmiiboMgr compile ensuite 10000 * now.year + 100 * now.month + now.day. Si la valeur est différente de AmiiboLastTouchDate (ce qui signifirait qu'un jour s'est écoulé), le tableau AmiiboTouchHistory est réinitialisé.
  • Une entrée pour l'amiibo scanné est rajouté dans AmiiboTouchHistory. Seulement les 100 dernières entrées sont gardées.
  • Si c'est la première fois que l'amiibo est scanné, une nouvelle entrée est rajoutée dans AmiiboTouchHistoryTotal (seulement les 200 dernières entrées sont gardées). Sinon, le compteur de scans est incrémenté en mettant à jour l'entrée existante.
  • Enfin, AmiiboLastTouchDate est mis à la date actuelle.
  1. 0x710064B3C8