scriptsdk / CSharp-ScriptSDK-Legacy

ScriptSDK is an advanced extension written in .NET. The framework is based on a local tcp socket protocol library written by maxwell and extend the provided architecture by additional methods and handlers.
GNU General Public License v3.0
9 stars 11 forks source link

Missing MessengerEvent Public Method #31

Open unisharpUO opened 4 years ago

unisharpUO commented 4 years ago

@ruaduck I tried making one but it's not working

Stealth.cs line 873

public event EventHandler<MessangerIncomingTextEventArgs> MessengerEvent
{
    add
    {
        var handler = MessangerIncomingTextInternal;
        if (handler == null)
            _client.SendPacket(PacketType.SCSetEventProc, EventTypes.MessengerEvent);
        MessangerIncomingTextInternal += value;
    }
    remove
    {
        MessangerIncomingTextInternal -= value;

        var handler = MessangerIncomingTextInternal;
        if (handler == null)
        {

            _client.SendPacket(PacketType.SCClearEventProc, EventTypes.MessengerEvent);
        }
    }
}
ruaduck commented 4 years ago

I'll look into it. It was what Maxwell had in his so i took out the Skype one and put this in its place.