Update EventsBot.cs
This commit is contained in:
parent
5720c773b4
commit
4c7f7a76f4
1 changed files with 514 additions and 511 deletions
|
|
@ -143,6 +143,7 @@ namespace BetterSecondBot.bottypes
|
|||
add { lock (_ChangeSimLock) { _ChangeSim += value; } }
|
||||
remove { lock (_ChangeSimLock) { _ChangeSim -= value; } }
|
||||
}
|
||||
|
||||
public event EventHandler<AlertMessageEventArgs> AlertMessage
|
||||
{
|
||||
add { lock (_AlertMessageLock) { _AlertMessage += value; } }
|
||||
|
|
@ -378,6 +379,8 @@ namespace BetterSecondBot.bottypes
|
|||
Client.Self.ScriptQuestion += PermissionsHandler;
|
||||
Client.Friends.FriendshipResponse += FriendshipResponse;
|
||||
Client.Friends.FriendNames += AvatarFriendNames;
|
||||
Client.Self.AlertMessage += AlertEvent;
|
||||
Client.Network.SimChanged += ChangeSim;
|
||||
delay_group_fetch = helpers.UnixTimeNow() + 10;
|
||||
}
|
||||
base.AfterBotLoginHandler();
|
||||
|
|
|
|||
Loading…
Reference in a new issue