Exemplo n.º 1
0
    public void Identify_CMD(SocketUser user, Data data)
    {
        Logger.Log("Identify received!");
        User server_user = new User(data.Input);

        server_user.SetSocket(user);
        user.SetUser(server_user);
        user.Send((byte)ClientCodes.Identified, "Welcome " + server_user.Name);
    }