public override DreamValue OperatorOutput(DreamValue a, DreamValue b)
        {
            DreamObject     client     = a.GetValueAsDreamObjectOfType(DreamPath.Mob).GetVariable("client").GetValueAsDreamObjectOfType(DreamPath.Client);
            DreamConnection connection = Program.ClientToConnection[client];

            connection.OutputDreamValue(b);
            return(new DreamValue(0));
        }
Exemple #2
0
        public override DreamValue OperatorOutput(DreamValue a, DreamValue b)
        {
            DreamObject     client     = a.GetValueAsDreamObjectOfType(DreamPath.Mob).GetVariable("client").GetValueAsDreamObjectOfType(DreamPath.Client);
            DreamConnection connection = _dreamManager.GetConnectionFromClient(client);

            connection.OutputDreamValue(b);
            return(new DreamValue(0));
        }