MZ用プラグイン

独自の特徴データIDを確保する - DarkPlasma_AllocateUniqueTraitDataId.js

シェア用テキスト:
▼独自の特徴データIDを確保する(DarkPlasma様作) - DarkPlasma_AllocateUniqueTraitDataId.js
https://plugin-mz.fungamemake.com/archives/7924
独自の特徴データIDを確保する

ふりがな:どくじのとくちょうでーたIDをかくほする

機能概要: 独自の特徴データIDを確保する

利用規約(ライセンス): MITライセンス

作者:DarkPlasma

作者サイト:https://elleonard.github.io/DarkPlasma-MZ-Plugins/index.html

解説ページ:https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree…

ダウンロードページ:https://raw.githubusercontent.com/elleonard/DarkPlasma-…

ファイル名:DarkPlasma_AllocateUniqueTraitDataId.js

プラグインのヘルプ:

@help
 * version: 1.1.0
 * 独自の特徴データIDを確保し、利用できるようにします。
 *
 * 本プラグインは単体では機能しません。
 * 本プラグインを必要とする別のプラグインと一緒に利用してください。
 *
 * 以下、プラグインの開発者向けの情報です。
 * uniqueTraitDataIdCache オブジェクトに対してリクエストを投げてください。
 *
 * uniqueTraitDataIdCache.allocate
 *   : (pluginName: string, traitId: number, localId: number, name: string|(() => string)) => UniqueTraitDataId
 *   プラグインで独自の特殊フラグIDを確保します。
 *   名前をデータベースロード後に評価する関数にすることもできます。
 *
 * UniqueSpecialFlagId.prototype.id: number
 *   確保した特殊フラグID
 *
 * UniqueSpecialFlagId.prototype.name: string
 *   確保した特殊フラグIDの名前
 *
 * 下記プラグインと共に利用する場合、それよりも下に追加してください。
 * DarkPlasma_FilterEquip

スポンサードリンク

スポンサードリンク

-MZ用プラグイン

Copyright© #ツクプラMZ , 2026 All Rights Reserved.