⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ct_raidassist.xml

📁 时间太紧了
💻 XML
📖 第 1 页 / 共 5 页
字号:
					</Anchor>
				</Anchors>
			</Frame>
			<Frame name="CT_RAGroupDrag1" inherits="CT_RAGroupDragTemplate" id="1" parent="UIParent" hidden="false">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="950" y="-35"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CT_RA_LinkDrag(CT_RAGroup1, this, "TOP", "TOP", 0, 10);
					</OnLoad>
				</Scripts>
			</Frame>
			<Frame name="CT_RAGroupDrag2" inherits="CT_RAGroupDragTemplate" id="2" parent="UIParent" hidden="false">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="950" y="-275"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CT_RA_LinkDrag(CT_RAGroup2, this, "TOP", "TOP", 0, 10);
					</OnLoad>
				</Scripts>
			</Frame>
			<Frame name="CT_RAGroupDrag3" inherits="CT_RAGroupDragTemplate" id="3" parent="UIParent" hidden="false">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="855" y="-35"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CT_RA_LinkDrag(CT_RAGroup3, this, "TOP", "TOP", 0, 10);
					</OnLoad>
				</Scripts>
			</Frame>
			<Frame name="CT_RAGroupDrag4" inherits="CT_RAGroupDragTemplate" id="4" parent="UIParent" hidden="false">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="855" y="-275"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CT_RA_LinkDrag(CT_RAGroup4, this, "TOP", "TOP", 0, 10);
					</OnLoad>
				</Scripts>
			</Frame>
			<Frame name="CT_RAGroupDrag5" inherits="CT_RAGroupDragTemplate" id="5" parent="UIParent" hidden="false">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="760" y="-35"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CT_RA_LinkDrag(CT_RAGroup5, this, "TOP", "TOP", 0, 10);
					</OnLoad>
				</Scripts>
			</Frame>
			<Frame name="CT_RAGroupDrag6" inherits="CT_RAGroupDragTemplate" id="6" parent="UIParent" hidden="false">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="760" y="-275"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CT_RA_LinkDrag(CT_RAGroup6, this, "TOP", "TOP", 0, 10);
					</OnLoad>
				</Scripts>
			</Frame>
			<Frame name="CT_RAGroupDrag7" inherits="CT_RAGroupDragTemplate" id="7" parent="UIParent" hidden="false">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="665" y="-35"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CT_RA_LinkDrag(CT_RAGroup7, this, "TOP", "TOP", 0, 10);
					</OnLoad>
				</Scripts>
			</Frame>
			<Frame name="CT_RAGroupDrag8" inherits="CT_RAGroupDragTemplate" id="8" parent="UIParent" hidden="false">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="665" y="-275"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CT_RA_LinkDrag(CT_RAGroup8, this, "TOP", "TOP", 0, 10);
					</OnLoad>
				</Scripts>
			</Frame>
			<Frame name="CT_RAMTGroupDrag" inherits="CT_RAGroupDragTemplate" id="9" parent="UIParent" hidden="false">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="570" y="-35"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CT_RA_LinkDrag(CT_RAMTGroup, this, "TOP", "TOP", 0, 10);
					</OnLoad>
				</Scripts>
			</Frame>
			<Frame name="CT_RAPTGroupDrag" inherits="CT_RAGroupDragTemplate" id="10" parent="UIParent" hidden="false">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="475" y="-35"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CT_RA_LinkDrag(CT_RAPTGroup, this, "TOP", "TOP", 0, 10);
					</OnLoad>
				</Scripts>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad>
				this:RegisterEvent("UNIT_HEALTH");
				this:RegisterEvent("UNIT_MAXHEALTH");
				this:RegisterEvent("UNIT_MANA");
				this:RegisterEvent("UNIT_MAXMANA");
				this:RegisterEvent("UNIT_RAGE");
				this:RegisterEvent("UNIT_MAXRAGE");
				this:RegisterEvent("UNIT_ENERGY");
				this:RegisterEvent("UNIT_MAXENERGY");
				this:RegisterEvent("UNIT_AURA");
				this:RegisterEvent("PLAYER_AURAS_CHANGED");

				this:RegisterEvent("PLAYER_TARGET_CHANGED");
				this:RegisterEvent("PLAYER_ENTERING_WORLD");
				this:RegisterEvent("PLAYER_LEAVING_WORLD");
				this:RegisterEvent("PLAYER_DEAD");
				this:RegisterEvent("PLAYER_ALIVE");

				this:RegisterEvent("RAID_ROSTER_UPDATE");
				this:RegisterEvent("VARIABLES_LOADED");
				this:RegisterEvent("UNIT_NAME_UPDATE");

				this:RegisterEvent("UI_ERROR_MESSAGE");
				this:RegisterEvent("UI_INFO_MESSAGE");
				this:RegisterEvent("SPELLCAST_STOP");
				this:RegisterEvent("SPELLCAST_START");
				this:RegisterEvent("SPELLCAST_FAILED");
				this:RegisterEvent("SPELLCAST_INTERRUPTED");
				CT_RA_UpdateRaidGroup(3);
			</OnLoad>
			<OnEvent>
				CT_RA_OnEvent(event);
			</OnEvent>
		</Scripts>
	</Frame>
	<MessageFrame name="CT_RAMessageFrame" insertMode="TOP" parent="UIParent" frameStrata="HIGH" toplevel="true">
		<Size>
			<AbsDimension x="728" y="100"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER">
				<Offset>
					<AbsDimension x="0" y="175"/>
				</Offset>
			</Anchor>
		</Anchors>
		<FontString inherits="ErrorFont" justifyH="CENTER"/>
	</MessageFrame>
	<MessageFrame name="CT_RA_WarningFrame" insertMode="BOTTOM" parent="UIParent" frameStrata="HIGH" toplevel="true">
		<Size>
			<AbsDimension x="728" y="200"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER"/>
		</Anchors>
		<FontString inherits="ErrorFont" justifyH="CENTER"/>
	</MessageFrame>
	<GameTooltip name="CT_RATooltip" inherits="GameTooltipTemplate">
		<Scripts>
			<OnLoad>
				this:SetOwner(WorldFrame, "ANCHOR_NONE");
			</OnLoad>
		</Scripts>
	</GameTooltip>
	<GameTooltip name="CT_RADurationTooltip" inherits="GameTooltipTemplate">
		<Scripts>
			<OnLoad>
				this:SetOwner(WorldFrame, "ANCHOR_NONE");
			</OnLoad>
		</Scripts>
	</GameTooltip>
	<Frame name="CT_RA_UpdateFrame" parent="UIParent" hidden="false">
		<Scripts>
			<OnUpdate>
				CT_RA_UpdateFrame_OnUpdate(arg1);
			</OnUpdate>
			<OnLoad>
				this:RegisterEvent("PARTY_MEMBERS_CHANGED");
				this:RegisterEvent("SPELLS_CHANGED");
				this:RegisterEvent("CHAT_MSG_SYSTEM");
				CT_RA_GetClassSpells();
				this.update = 0;
				this.updateMT = 0.5;
				this.time = 6;
				this.updateAFK = 0;
				this.mouseOverUpdate = 0;
			</OnLoad>
			<OnEvent>
				CT_RA_UpdateFrame_OnEvent(event);
				CT_RA_ClassSpells_OnEvent(event);
			</OnEvent>
		</Scripts>
	</Frame>
	<Frame name="CT_RA_ParseFrame" parent="UIParent" hidden="false">
		<Scripts>
			<OnLoad>
				this:RegisterEvent("CHAT_MSG_RAID");
				this:RegisterEvent("CHAT_MSG_RAID_LEADER");
				this:RegisterEvent("CHAT_MSG_WHISPER");
				this:RegisterEvent("CHAT_MSG_WHISPER_INFORM");
				this:RegisterEvent("CHAT_MSG_COMBAT_FRIENDLY_DEATH");
				this:RegisterEvent("CHAT_MSG_SYSTEM");
				this:RegisterEvent("CHAT_MSG_ADDON");
				this:RegisterEvent("CHAT_MSG_PARTY");
				this.elapsed = 1;
				this.numMessagesSent = 0;
				this.flush = 0;
			</OnLoad>
			<OnEvent>
				CT_RA_ParseEvent(event);
			</OnEvent>
			<OnUpdate>
				CT_RA_ProcessMessages(arg1);
			</OnUpdate>
		</Scripts>
	</Frame>

	<Frame name="CT_RA_EmergencyTemplate" virtual="true" hidden="true">
		<Size>
			<AbsDimension x="150" y="20"/>
		</Size>
		<Anchors>
			<Anchor point="TOP"/>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentName" justifyH="RIGHT" inherits="GameFontNormal">
					<Anchors>
						<Anchor point="RIGHT" relativePoint="LEFT">
							<Offset>
								<AbsDimension x="-5" y="2"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentDeficit" justifyH="LEFT" inherits="ChatFontNormal">
					<Anchors>
						<Anchor point="LEFT" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="5" y="2"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<Texture name="$parentHPBG" file="Interface\TargetingFrame\UI-StatusBar">
					<Size>
						<AbsDimension x="150" y="20"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<StatusBar name="$parentHPBar" inherits="TextStatusBar">
				<Size>
					<AbsDimension x="150" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT"/>
				</Anchors>
				<Scripts>
					<OnLoad>
						this:SetMinMaxValues(0, 100);
					</OnLoad>
				</Scripts>
				<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
				<BarColor r="0" g="1" b="0"/>
			</StatusBar>
			<Frame name="$parentClick" setAllPoints="true">
				<Size>
					<AbsDimension x="200" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT"/>
				</Anchors>
				<Frames>
					<Button name="$parentFrame">
						<Size>
							<AbsDimension x="200" y="20"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT"/>
						</Anchors>
						<Scripts>
							<OnLoad>
								this.update = 0.1;
								this:RegisterForClicks("LeftButtonDown", "RightButtonDown", "MiddleButtonDown", "Button4Down", "Button5Down");
							</OnLoad>
							<OnEnter>
								CT_RA_Emergency_OnEnter();
							</OnEnter>
							<OnLeave>
								if ( SpellIsTargeting() ) then
									SetCursor("CAST_ERROR_CURSOR");
								end
								GameTooltip:Hide();
							</OnLeave>
							<OnUpdate>
								CT_RA_Emergency_OnUpdate(arg1);
							</OnUpdate>
							<OnClick>
								local stopDefaultBehaviour;
								if ( type(CT_RA_CustomOnClickFunction) == "function" ) then
									stopDefaultBehaviour = CT_RA_CustomOnClickFunction(arg1, this.unitid);
								end
								if ( not stopDefaultBehaviour ) then
									if ( SpellIsTargeting() ) then
										SpellTargetUnit(this.unitid);
									else
										TargetUnit(this.unitid);
									end
								end
							</OnClick>
						</Scripts>
					</Button>
				</Frames>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad>
				this.HPBar = CT_RA_Cache[this].HPBar;
				this.HPBG = CT_RA_Cache[this].HPBG;
				this.Name = CT_RA_Cache[this].Name;
				this.Deficit = CT_RA_Cache[this].Deficit;
				this.Click = CT_RA_Cache[this].Click;
				this.ClickFrame = CT_RA_Cache[this.Click].Frame;
				this.HPBG:SetVertexColor(0, 1, 0, 0.2);
			</OnLoad>
		</Scripts>
	</Frame>
	<Frame name="CT_RA_EmergencyFrame" parent="UIParent" hidden="false">
		<Size>
			<AbsDimension x="300" y="170"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER"/>
		</Anchors>
		<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" setAllPoints="true" tile="true">
			<EdgeSize>
				<AbsValue val="16"/>
			</EdgeSize>
			<TileSize>
				<AbsValue val="16"/>
			</TileSize>
			<BackgroundInsets>
				<AbsInset left="5" right="5" top="5" bottom="5"/>
			</BackgroundInsets>
		</Backdrop>
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentTitle" inherits="GameFontNormalSmall" hidden="true" text="紧急情况监视器">
					<Anchors>
						<Anchor point="TOP" relativePoint="TOP">
							<Offset>
								<AbsDimension x="0" y="-7"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true">
				<Size>
					<AbsDimension x="125" y="15"/>
				</Size>
				<Anchors>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -