Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

ModioComment

Ahmed Castro edited this page Jul 14, 2019 · 3 revisions

Mod comments submitted by users.

struct ModioComment
{
  u32 id;
  u32 mod_id;
  ModioUser submitted_by;
  u32 date_added;
  u32 reply_id;
  u32 karma;
  u32 karma_guest;
  char* replay_position;
  char* content;
};
Name Type Description
id u32 Unique id of the comment.
mod_id u32 Unique id of the parent mod.
date_added u32 Unix timestamp of date the comment was posted.
reply_id u32 Id of the parent comment this comment is replying to (can be 0 if the comment is not a reply).
karma i32 Karma received for the comment (can be postive or negative).
karma_guest i32 Karma received for guest comments (can be postive or negative).
reply_position char* Levels of nesting in a comment thread.
content char* Contents of the comment.
submitted_by ModioUser ModioUser object.

See also: API, modio::Comment

Contents

Clone this wiki locally