internal Limits(BoardTemp board) { BumpsPerThread = board.bump_limit; CommentLength = board.max_comment_chars; Filesize = board.max_filesize; ImagesPerThread = board.image_limit; WebmDuration = board.max_webm_duration; WebmFilesize = board.max_webm_filesize; }
internal Board(BoardTemp board) { URLName = board.board; Title = board.title; Description = board.meta_description; IsWorkSafe = board.ws_board == 1; IsArchived = board.is_archived == 1; NumThreadsPerPage = board.per_page; NumPages = board.pages; Limits = new Limits(board); Cooldowns = new Cooldowns(board); }
internal Cooldowns(BoardTemp board) { Threads = board.cooldowns["threads"]; Replies = board.cooldowns["replies"]; Images = board.cooldowns["images"]; }