示例#1
0
        //public int UserId;

        public ContentController()
        {
            CommandCaster      = new CommandCaster();
            FrameResponse      = new FrameResponse();
            completeExpression = string.Empty;
            //UserId = userId;
        }
示例#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);
        }