Atavism Version 2018.1AGIS API

atavism.server.engine
Interface Hook

All Known Subinterfaces:
ProxyHook
All Known Implementing Classes:
AgisInventoryPlugin.CategoryUpdatedHook, AgisInventoryPlugin.CreateInventoryHook, AgisInventoryPlugin.LockpickHook, AgisProxyPlugin.AddFriendHook, AgisProxyPlugin.CancelLogoutRequestHook, AgisProxyPlugin.GetFriendsHook, AgisProxyPlugin.LogoutRequestHook, BillingPlugin.BillingSubObjectHook, ClassAbilityPlugin.ClassAbilityAddAbilityHook, ClassAbilityPlugin.ClassAbilityHandleXpHook, ClassAbilityPlugin.ClassAbilitySubObjectHook, CurrencyPlugin.CurrencyPluginGenerateSubObjectHook, CurrencyPlugin.GetBalanceHook, CurrencyPlugin.ListCurrenciesHook, CurrencyPlugin.UpdateBalanceHook, DataLoggerPlugin.DataLogMessageHook, DataLoggerPlugin.LogEventHook, EnginePlugin.DeleteSubObjHook, EnginePlugin.GenerateSubObjectHook, EnginePlugin.LoadSubObjHook, EnginePlugin.SaveSubObjHook, EnginePlugin.UnloadSubObjHook, FactionPlugin.FactionSubObjectHook, QuestPlugin.CanPlayerStartQuestHook, QuestPlugin.CategoryUpdatedHook, QuestPlugin.ConcludeQuestHook, QuestPlugin.GetQuestItemReqsHook, QuestPlugin.GetQuestStatusHook, QuestPlugin.NewQuestStateHook, QuestPlugin.OfferQuestsToPlayerHook, QuestPlugin.QuestResponseHook, QuestPlugin.QuestStatusChangedHook, QuestPlugin.QuestSubObjectHook, QuestPlugin.StartQuestHook, SocialPlugin.ChannelChangeHook, SocialPlugin.InstanceChatHook, SocialPlugin.SocialSubObjectHook, TrainerPlugin.ReqSkillTrainingHook, TrainerPlugin.ReqTrainerInfoHook, TrainerPlugin.TrainerSubObjectHook, VendorPlugin.HandleItemPurchase, VendorPlugin.HandleVendorBalanceRequest, VendorPlugin.HandleVendorInfoRequest, VendorPlugin.VendorSubObjectHook

public interface Hook

Interface used for processing a message. The EnginePlugin's onMessage() method gets all matching hooks from its local HookManager. It then calls the processMessage() method of all matching hooks in order. The chain of processing continues unless the processMessage() method returns false.

See Also:
EnginePlugin.handleMessageImpl(atavism.msgsys.Message, int), HookManager

Method Summary
 boolean processMessage(Message msg, int flags)
          Handles processing of the message, called by EnginePlugin.
 

Method Detail

processMessage

boolean processMessage(Message msg,
                       int flags)
Handles processing of the message, called by EnginePlugin.

Returns:
Returns true if hook chain processing should continue.


Copyright © 2018 Dragonsan Studios Sp. z o.o.