Minimapを制御するために〜Gathererの解析〜

Gatherer.xml

AddOn.xml用の定型文

<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
	..\FrameXML\UI.xsd">

Scriptファイルの指定

	<Script file="localization.lua"/>
	<Script file="GatherIcons.lua"/>
	<Script file="Gatherer.lua"/>

GathererUIの設定

	<Frame name="Gatherer" parent="UIParent">
	 <!--name:UIの名前-->
	 <!--parent:親UIの名前(UIParentは全てのUIの親)-->
		<Size>
		 <!--UIのサイズ:0×0-->
			<AbsDimension x="0" y="0"/>
		</Size>
		<Scripts>
		 <!--それぞれの割り込みタイミングで呼び出されるスクリプト-->
			<OnLoad>
			 <!--ロードされたとき-->
				Gatherer_OnLoad();
			</OnLoad>
			<OnEvent>
			 <!--イベント(?)が発生したとき-->
				Gatherer_OnEvent(event);
			</OnEvent>
			<OnUpdate>
			 <!--アップデート(?)が発生したとき-->
				Gatherer_TimeCheck(arg1);
			</OnUpdate>
		</Scripts>
	</Frame>

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS