hydraontopp_void/Void/Modules/StreamMode.cs
#region

using Void.ClientBase;
using Void.Modules.vModuleExtra;

#endregion

namespace Void.Modules
{
    internal class StreamMode : Module
    {
        public StreamMode() : base("StreamMode", (char)0x07, "World")
        {
            storedusr = Game.username;
        } // 0x07 = no keybind

        string storedusr = "null";

        public override void OnEnable()
        {
            base.OnEnable();
            storedusr = Game.username;
            Game.username = "VoidExploiter";
        }

        public override void OnDisable()
        {
            base.OnDisable();
            Game.username = storedusr;
        }
    }
}