API:Event List I

From TheWarWiki

Jump to: navigation, search

Contents

Event List - A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

INFO_ALERT

No information available yet: someone should research this event.


INTERACT_ACCEPT_QUEST

No information available yet: someone should research this event.


INTERACT_ALLIANCE_FORM_ACCEPT

No information available yet: someone should research this event.


INTERACT_ALLIANCE_FORM_DECLINE

No information available yet: someone should research this event.


INTERACT_BIND

No information available yet: someone should research this event.


INTERACT_BUY_BACK_ITEM

No information available yet: someone should research this event.


INTERACT_BUY_ITEM

No information available yet: someone should research this event.


INTERACT_CLOSE

No information available yet: someone should research this event.


INTERACT_COMPLETE_QUEST

No information available yet: someone should research this event.


INTERACT_DEFAULT

Fired during every interaction(trainer, merchant, quest giver, etc)

Parameters

sourceID
Source ID of the current object that the Player is interacting with.
The name of the object can be found by calling GetNameForObject(sourceID)


INTERACT_DEFAULT_GUILD_NPC

No information available yet: someone should research this event.


INTERACT_DONE

Fires on end of chat with NPC, would assume other points too.

Parameters

None



INTERACT_DYE_MERCHANT

No information available yet: someone should research this event.


INTERACT_DYE_MERCHANT_DYE_ALL

No information available yet: someone should research this event.


INTERACT_DYE_MERCHANT_DYE_SINGLE

No information available yet: someone should research this event.


INTERACT_FLIGHT_TRAVEL

No information available yet: someone should research this event.


INTERACT_GROUP_JOIN_SCENARIO_QUEUE

No information available yet: someone should research this event.


INTERACT_GUILD_CREATION_COMPLETE

No information available yet: someone should research this event.


INTERACT_GUILD_FORM_ACCEPT

No information available yet: someone should research this event.


INTERACT_GUILD_FORM_DECLINE

No information available yet: someone should research this event.


INTERACT_GUILD_NPC_ERROR

No information available yet: someone should research this event.


INTERACT_GUILD_SHOW_FORM

No information available yet: someone should research this event.


INTERACT_HEALER

No information available yet: someone should research this event.


INTERACT_JOIN_SCENARIO_QUEUE

No information available yet: someone should research this event.


INTERACT_LEAVE_SCENARIO_QUEUE

No information available yet: someone should research this event.


INTERACT_LOOT_CLOSE

No information available yet: someone should research this event.


INTERACT_MAILBOX_CLOSED

This event is NOT fired when mailbox is closed! Seems to be a bug.

You can use my workaround.

In your mod file have an entry like:

<OnUpdate> <CallFunction name="MyAddon.OnUpdate" /> </OnUpdate>

In your lua file, register the function to call when mailbox is opened:

RegisterEventHandler(SystemData.Events.INTERACT_MAILBOX_OPEN, "MyAddon.MailboxOpened")

Have those kind of functions:

function MyAddon.MailboxOpened()

<Your code>
MailboxIsOpen = true

end

function MyAddon.MailboxClosed()

<Your code>
MailboxIsOpen = false

end

function MyAddon.OnUpdate()

if MailboxIsOpen and not WindowGetShowing("MailWindow") then 
 MyAddon.MailboxClosed()
end

end

--Vincentgdg 13:30, 9 October 2008 (UTC)


INTERACT_MAILBOX_OPEN

Fires (twice) when the Mailbox is opened

Parameters

None

INTERACT_PURCHASE_HEAL

No information available yet: someone should research this event.


INTERACT_REJOIN_SCENARIO_QUEUE

No information available yet: someone should research this event.


INTERACT_REPAIR

No information available yet: someone should research this event.


INTERACT_SELECT_FLIGHT_POINT

No information available yet: someone should research this event.


INTERACT_SELECT_FLIGHTMASTER

No information available yet: someone should research this event.


INTERACT_SELECT_QUEST

No information available yet: someone should research this event.


INTERACT_SELECT_SCENARIO_QUEUE_LIST

No information available yet: someone should research this event.


INTERACT_SELECT_STORE

No information available yet: someone should research this event.


INTERACT_SELECT_TRAINING

No information available yet: someone should research this event.


INTERACT_SELL_ITEM

No information available yet: someone should research this event.


INTERACT_SHOW_FLIGHTMASTER

No information available yet: someone should research this event.


INTERACT_SHOW_HEALER

No information available yet: someone should research this event.


INTERACT_SHOW_INFLUENCE_REWARDS

No information available yet: someone should research this event.


INTERACT_SHOW_LOOT

No information available yet: someone should research this event.


INTERACT_SHOW_LOOT_ROLL_DATA

No information available yet: someone should research this event.


INTERACT_SHOW_PQ_LOOT

No information available yet: someone should research this event.


INTERACT_SHOW_QUEST

No information available yet: someone should research this event.


INTERACT_SHOW_SCENARIO_QUEUE_LIST

No information available yet: someone should research this event.


INTERACT_SHOW_SIEGE_PAD_BUILD_LIST

No information available yet: someone should research this event.


INTERACT_SHOW_STORE

Fired when the store window is opened at a merchant.

Arguments: none


INTERACT_SHOW_TRAINING

No information available yet: someone should research this event.


INTERFACE_RELOADED

No information available yet: someone should research this event.


ITEM_SET_DATA_ARRIVED

Fired when data is received from the Server containing info about a requested ItemSet
The received data can be accessed through API:GameData.UpdatedItemSet


ITEM_SET_DATA_UPDATED

No information available yet: someone should research this event.

Personal tools