Example #1
0
        //public int UserId;

        public ContentController()
        {
            CommandCaster      = new CommandCaster();
            FrameResponse      = new FrameResponse();
            completeExpression = string.Empty;
            //UserId = userId;
        }
Example #2
0
        public void Send()
        {
            if (!_serialized)
            {
                throw new NotImplementedException("buffer not serialized yet, you should call Serialize() method first");
            }
            NetOutgoingMessage ogMessage = NetworkEncryption.Encrypt(_buffer);

            CommandCaster.Send(ogMessage);
        }