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