What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Any way to receive notification of system alert messages?

mistahmikey

New Member
Joined
Jun 29, 2015
Messages
161
I see that GamelogManager allows us to receive chat log events, but is there something similar for the events that pop up on the screen?
 
I see that GamelogManager allows us to receive chat log events, but is there something similar for the events that pop up on the screen?

I know this is a late response but, you can hook to the event MessageReceived

MessageType.SystemMessages = 57,
MessageType.SystemErrorMessages = 58,
(MessageType)2115 is something I use for fishing...I think the mapping of types is not up to date, so you might need to do some extra work to figure out the message type you are looking for.

Code:
GamelogManager.MessageRecieved += (sender, e) =>
{
    if(e.ChatLogEntry.MessageType == SomeMessageType or number)
{
// do things here
}
}
 
Back
Top