{"action":"created","comment":{"url":"https://api.github.com/repos/Segs/Segs/pulls/comments/231043455","pull_request_review_id":171917571,"id":231043455,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMTA0MzQ1NQ==","diff_hunk":"@@ -0,0 +1,82 @@\n+/*\n+ * SEGS - Super Entity Game Server\n+ * http://www.segs.io/\n+ * Copyright (c) 2006 - 2018 SEGS Team (see AUTHORS.md)\n+ * This software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details.\n+ */\n+\n+#pragma once\n+#include <QString>\n+#include \"cereal/cereal.hpp\"\n+#include \"Logging.h\"\n+\n+\n+\n+class Clue\n+{\n+public:\n+     enum : uint32_t {class_version       = 1};\n+\n+    QString m_name;\n+    QString m_display_name;\n+    QString m_detail_text;\n+    QString m_icon_file;\n+\n+    // for scripting language access.\n+    std::string getName() const { return m_name.toStdString();}\n+    void setName(const char *n) { m_name = n; }\n+\n+    std::string getDisplayName() const { return m_display_name.toStdString();}\n+    void setDisplayName(const char *n) { m_display_name = n; }\n+\n+    std::string getDetailText() const { return m_detail_text.toStdString();}\n+    void setDetailText(const char *n) { m_detail_text = n; }\n+\n+    std::string getIconFile() const { return m_icon_file.toStdString();}\n+    void setIconFile(const char *n) { m_icon_file = n; }\n+\n+\n+    template<class Archive>\n+    void serialize(Archive &archive, uint32_t const version);\n+};\n+using vClueList = std::vector<Clue>;","path":"Projects/CoX/Common/GameData/Clue.h","position":42,"original_position":42,"commit_id":"5b59f564a65aca01f94688a8e84b0bc233d9183b","original_commit_id":"5b59f564a65aca01f94688a8e84b0bc233d9183b","user":{"login":"dracc","id":1279635,"node_id":"MDQ6VXNlcjEyNzk2MzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1279635?v=4","gravatar_id":"","url":"https://api.github.com/users/dracc","html_url":"https://github.com/dracc","followers_url":"https://api.github.com/users/dracc/followers","following_url":"https://api.github.com/users/dracc/following{/other_user}","gists_url":"https://api.github.com/users/dracc/gists{/gist_id}","starred_url":"https://api.github.com/users/dracc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dracc/subscriptions","organizations_url":"https://api.github.com/users/dracc/orgs","repos_url":"https://api.github.com/users/dracc/repos","events_url":"https://api.github.com/users/dracc/events{/privacy}","received_events_url":"https://api.github.com/users/dracc/received_events","type":"User","site_admin":false},"body":"I'd prefer `ClueContainer` even. Or is the type of container used vital for this specific variable? :)","created_at":"2018-11-06T09:07:24Z","updated_at":"2018-11-06T09:07:24Z","html_url":"https://github.com/Segs/Segs/pull/680#discussion_r231043455","pull_request_url":"https://api.github.com/repos/Segs/Segs/pulls/680","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Segs/Segs/pulls/comments/231043455"},"html":{"href":"https://github.com/Segs/Segs/pull/680#discussion_r231043455"},"pull_request":{"href":"https://api.github.com/repos/Segs/Segs/pulls/680"}},"in_reply_to_id":231027253},"pull_request":{"url":"https://api.github.com/repos/Segs/Segs/pulls/680","id":228157348,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MTU3MzQ4","html_url":"https://github.com/Segs/Segs/pull/680","diff_url":"https://github.com/Segs/Segs/pull/680.diff","patch_url":"https://github.com/Segs/Segs/pull/680.patch","issue_url":"https://api.github.com/repos/Segs/Segs/issues/680","number":680,"state":"open","locked":false,"title":"Clues - Souvenirs - Random Temp powers in Lua","user":{"login":"ZopharShinta","id":43687491,"node_id":"MDQ6VXNlcjQzNjg3NDkx","avatar_url":"https://avatars3.githubusercontent.com/u/43687491?v=4","gravatar_id":"","url":"https://api.github.com/users/ZopharShinta","html_url":"https://github.com/ZopharShinta","followers_url":"https://api.github.com/users/ZopharShinta/followers","following_url":"https://api.github.com/users/ZopharShinta/following{/other_user}","gists_url":"https://api.github.com/users/ZopharShinta/gists{/gist_id}","starred_url":"https://api.github.com/users/ZopharShinta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZopharShinta/subscriptions","organizations_url":"https://api.github.com/users/ZopharShinta/orgs","repos_url":"https://api.github.com/users/ZopharShinta/repos","events_url":"https://api.github.com/users/ZopharShinta/events{/privacy}","received_events_url":"https://api.github.com/users/ZopharShinta/received_events","type":"User","site_admin":false},"body":"Added Clues and Souvenirs to Lua.\r\nAdded Random temp power option in Lua.\r\nUpdated LuaBot to test new features.","created_at":"2018-11-04T04:40:05Z","updated_at":"2018-11-06T09:07:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ffa155840996768b2d175fcb76c305e4c3b8a064","assignee":{"login":"ZopharShinta","id":43687491,"node_id":"MDQ6VXNlcjQzNjg3NDkx","avatar_url":"https://avatars3.githubusercontent.com/u/43687491?v=4","gravatar_id":"","url":"https://api.github.com/users/ZopharShinta","html_url":"https://github.com/ZopharShinta","followers_url":"https://api.github.com/users/ZopharShinta/followers","following_url":"https://api.github.com/users/ZopharShinta/following{/other_user}","gists_url":"https://api.github.com/users/ZopharShinta/gists{/gist_id}","starred_url":"https://api.github.com/users/ZopharShinta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZopharShinta/subscriptions","organizations_url":"https://api.github.com/users/ZopharShinta/orgs","repos_url":"https://api.github.com/users/ZopharShinta/repos","events_url":"https://api.github.com/users/ZopharShinta/events{/privacy}","received_events_url":"https://api.github.com/users/ZopharShinta/received_events","type":"User","site_admin":false},"assignees":[{"login":"ZopharShinta","id":43687491,"node_id":"MDQ6VXNlcjQzNjg3NDkx","avatar_url":"https://avatars3.githubusercontent.com/u/43687491?v=4","gravatar_id":"","url":"https://api.github.com/users/ZopharShinta","html_url":"https://github.com/ZopharShinta","followers_url":"https://api.github.com/users/ZopharShinta/followers","following_url":"https://api.github.com/users/ZopharShinta/following{/other_user}","gists_url":"https://api.github.com/users/ZopharShinta/gists{/gist_id}","starred_url":"https://api.github.com/users/ZopharShinta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZopharShinta/subscriptions","organizations_url":"https://api.github.com/users/ZopharShinta/orgs","repos_url":"https://api.github.com/users/ZopharShinta/repos","events_url":"https://api.github.com/users/ZopharShinta/events{/privacy}","received_events_url":"https://api.github.com/users/ZopharShinta/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":28453034,"node_id":"MDU6TGFiZWwyODQ1MzAzNA==","url":"https://api.github.com/repos/Segs/Segs/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":{"url":"https://api.github.com/repos/Segs/Segs/milestones/10","html_url":"https://github.com/Segs/Segs/milestone/10","labels_url":"https://api.github.com/repos/Segs/Segs/milestones/10/labels","id":3537655,"node_id":"MDk6TWlsZXN0b25lMzUzNzY1NQ==","number":10,"title":"Version 0.7: Name TBD","description":"Progress Progress Progress","creator":{"login":"broxen","id":10159505,"node_id":"MDQ6VXNlcjEwMTU5NTA1","avatar_url":"https://avatars2.githubusercontent.com/u/10159505?v=4","gravatar_id":"","url":"https://api.github.com/users/broxen","html_url":"https://github.com/broxen","followers_url":"https://api.github.com/users/broxen/followers","following_url":"https://api.github.com/users/broxen/following{/other_user}","gists_url":"https://api.github.com/users/broxen/gists{/gist_id}","starred_url":"https://api.github.com/users/broxen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broxen/subscriptions","organizations_url":"https://api.github.com/users/broxen/orgs","repos_url":"https://api.github.com/users/broxen/repos","events_url":"https://api.github.com/users/broxen/events{/privacy}","received_events_url":"https://api.github.com/users/broxen/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":7,"state":"open","created_at":"2018-07-31T22:39:52Z","updated_at":"2018-11-05T18:08:09Z","due_on":"2019-03-31T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/Segs/Segs/pulls/680/commits","review_comments_url":"https://api.github.com/repos/Segs/Segs/pulls/680/comments","review_comment_url":"https://api.github.com/repos/Segs/Segs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Segs/Segs/issues/680/comments","statuses_url":"https://api.github.com/repos/Segs/Segs/statuses/5b59f564a65aca01f94688a8e84b0bc233d9183b","head":{"label":"ZopharShinta:develop","ref":"develop","sha":"5b59f564a65aca01f94688a8e84b0bc233d9183b","user":{"login":"ZopharShinta","id":43687491,"node_id":"MDQ6VXNlcjQzNjg3NDkx","avatar_url":"https://avatars3.githubusercontent.com/u/43687491?v=4","gravatar_id":"","url":"https://api.github.com/users/ZopharShinta","html_url":"https://github.com/ZopharShinta","followers_url":"https://api.github.com/users/ZopharShinta/followers","following_url":"https://api.github.com/users/ZopharShinta/following{/other_user}","gists_url":"https://api.github.com/users/ZopharShinta/gists{/gist_id}","starred_url":"https://api.github.com/users/ZopharShinta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZopharShinta/subscriptions","organizations_url":"https://api.github.com/users/ZopharShinta/orgs","repos_url":"https://api.github.com/users/ZopharShinta/repos","events_url":"https://api.github.com/users/ZopharShinta/events{/privacy}","received_events_url":"https://api.github.com/users/ZopharShinta/received_events","type":"User","site_admin":false},"repo":{"id":153698577,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM2OTg1Nzc=","name":"Segs","full_name":"ZopharShinta/Segs","private":false,"owner":{"login":"ZopharShinta","id":43687491,"node_id":"MDQ6VXNlcjQzNjg3NDkx","avatar_url":"https://avatars3.githubusercontent.com/u/43687491?v=4","gravatar_id":"","url":"https://api.github.com/users/ZopharShinta","html_url":"https://github.com/ZopharShinta","followers_url":"https://api.github.com/users/ZopharShinta/followers","following_url":"https://api.github.com/users/ZopharShinta/following{/other_user}","gists_url":"https://api.github.com/users/ZopharShinta/gists{/gist_id}","starred_url":"https://api.github.com/users/ZopharShinta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZopharShinta/subscriptions","organizations_url":"https://api.github.com/users/ZopharShinta/orgs","repos_url":"https://api.github.com/users/ZopharShinta/repos","events_url":"https://api.github.com/users/ZopharShinta/events{/privacy}","received_events_url":"https://api.github.com/users/ZopharShinta/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ZopharShinta/Segs","description":":muscle: SEGS - Super Entity Game Server","fork":true,"url":"https://api.github.com/repos/ZopharShinta/Segs","forks_url":"https://api.github.com/repos/ZopharShinta/Segs/forks","keys_url":"https://api.github.com/repos/ZopharShinta/Segs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZopharShinta/Segs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZopharShinta/Segs/teams","hooks_url":"https://api.github.com/repos/ZopharShinta/Segs/hooks","issue_events_url":"https://api.github.com/repos/ZopharShinta/Segs/issues/events{/number}","events_url":"https://api.github.com/repos/ZopharShinta/Segs/events","assignees_url":"https://api.github.com/repos/ZopharShinta/Segs/assignees{/user}","branches_url":"https://api.github.com/repos/ZopharShinta/Segs/branches{/branch}","tags_url":"https://api.github.com/repos/ZopharShinta/Segs/tags","blobs_url":"https://api.github.com/repos/ZopharShinta/Segs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZopharShinta/Segs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZopharShinta/Segs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZopharShinta/Segs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZopharShinta/Segs/statuses/{sha}","languages_url":"https://api.github.com/repos/ZopharShinta/Segs/languages","stargazers_url":"https://api.github.com/repos/ZopharShinta/Segs/stargazers","contributors_url":"https://api.github.com/repos/ZopharShinta/Segs/contributors","subscribers_url":"https://api.github.com/repos/ZopharShinta/Segs/subscribers","subscription_url":"https://api.github.com/repos/ZopharShinta/Segs/subscription","commits_url":"https://api.github.com/repos/ZopharShinta/Segs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZopharShinta/Segs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZopharShinta/Segs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZopharShinta/Segs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZopharShinta/Segs/contents/{+path}","compare_url":"https://api.github.com/repos/ZopharShinta/Segs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZopharShinta/Segs/merges","archive_url":"https://api.github.com/repos/ZopharShinta/Segs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZopharShinta/Segs/downloads","issues_url":"https://api.github.com/repos/ZopharShinta/Segs/issues{/number}","pulls_url":"https://api.github.com/repos/ZopharShinta/Segs/pulls{/number}","milestones_url":"https://api.github.com/repos/ZopharShinta/Segs/milestones{/number}","notifications_url":"https://api.github.com/repos/ZopharShinta/Segs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZopharShinta/Segs/labels{/name}","releases_url":"https://api.github.com/repos/ZopharShinta/Segs/releases{/id}","deployments_url":"https://api.github.com/repos/ZopharShinta/Segs/deployments","created_at":"2018-10-18T23:11:43Z","updated_at":"2018-11-06T00:18:18Z","pushed_at":"2018-11-06T00:18:16Z","git_url":"git://github.com/ZopharShinta/Segs.git","ssh_url":"git@github.com:ZopharShinta/Segs.git","clone_url":"https://github.com/ZopharShinta/Segs.git","svn_url":"https://github.com/ZopharShinta/Segs","homepage":"http://segs.io/","size":28071,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Segs:develop","ref":"develop","sha":"b9413a31bd4b6a4d0db97f8a189614e58f39af3d","user":{"login":"Segs","id":3596609,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1OTY2MDk=","avatar_url":"https://avatars1.githubusercontent.com/u/3596609?v=4","gravatar_id":"","url":"https://api.github.com/users/Segs","html_url":"https://github.com/Segs","followers_url":"https://api.github.com/users/Segs/followers","following_url":"https://api.github.com/users/Segs/following{/other_user}","gists_url":"https://api.github.com/users/Segs/gists{/gist_id}","starred_url":"https://api.github.com/users/Segs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Segs/subscriptions","organizations_url":"https://api.github.com/users/Segs/orgs","repos_url":"https://api.github.com/users/Segs/repos","events_url":"https://api.github.com/users/Segs/events{/privacy}","received_events_url":"https://api.github.com/users/Segs/received_events","type":"Organization","site_admin":false},"repo":{"id":8205781,"node_id":"MDEwOlJlcG9zaXRvcnk4MjA1Nzgx","name":"Segs","full_name":"Segs/Segs","private":false,"owner":{"login":"Segs","id":3596609,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1OTY2MDk=","avatar_url":"https://avatars1.githubusercontent.com/u/3596609?v=4","gravatar_id":"","url":"https://api.github.com/users/Segs","html_url":"https://github.com/Segs","followers_url":"https://api.github.com/users/Segs/followers","following_url":"https://api.github.com/users/Segs/following{/other_user}","gists_url":"https://api.github.com/users/Segs/gists{/gist_id}","starred_url":"https://api.github.com/users/Segs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Segs/subscriptions","organizations_url":"https://api.github.com/users/Segs/orgs","repos_url":"https://api.github.com/users/Segs/repos","events_url":"https://api.github.com/users/Segs/events{/privacy}","received_events_url":"https://api.github.com/users/Segs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Segs/Segs","description":":muscle: SEGS - Super Entity Game Server","fork":false,"url":"https://api.github.com/repos/Segs/Segs","forks_url":"https://api.github.com/repos/Segs/Segs/forks","keys_url":"https://api.github.com/repos/Segs/Segs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Segs/Segs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Segs/Segs/teams","hooks_url":"https://api.github.com/repos/Segs/Segs/hooks","issue_events_url":"https://api.github.com/repos/Segs/Segs/issues/events{/number}","events_url":"https://api.github.com/repos/Segs/Segs/events","assignees_url":"https://api.github.com/repos/Segs/Segs/assignees{/user}","branches_url":"https://api.github.com/repos/Segs/Segs/branches{/branch}","tags_url":"https://api.github.com/repos/Segs/Segs/tags","blobs_url":"https://api.github.com/repos/Segs/Segs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Segs/Segs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Segs/Segs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Segs/Segs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Segs/Segs/statuses/{sha}","languages_url":"https://api.github.com/repos/Segs/Segs/languages","stargazers_url":"https://api.github.com/repos/Segs/Segs/stargazers","contributors_url":"https://api.github.com/repos/Segs/Segs/contributors","subscribers_url":"https://api.github.com/repos/Segs/Segs/subscribers","subscription_url":"https://api.github.com/repos/Segs/Segs/subscription","commits_url":"https://api.github.com/repos/Segs/Segs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Segs/Segs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Segs/Segs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Segs/Segs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Segs/Segs/contents/{+path}","compare_url":"https://api.github.com/repos/Segs/Segs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Segs/Segs/merges","archive_url":"https://api.github.com/repos/Segs/Segs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Segs/Segs/downloads","issues_url":"https://api.github.com/repos/Segs/Segs/issues{/number}","pulls_url":"https://api.github.com/repos/Segs/Segs/pulls{/number}","milestones_url":"https://api.github.com/repos/Segs/Segs/milestones{/number}","notifications_url":"https://api.github.com/repos/Segs/Segs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Segs/Segs/labels{/name}","releases_url":"https://api.github.com/repos/Segs/Segs/releases{/id}","deployments_url":"https://api.github.com/repos/Segs/Segs/deployments","created_at":"2013-02-14T19:15:30Z","updated_at":"2018-11-05T11:08:06Z","pushed_at":"2018-11-06T00:18:17Z","git_url":"git://github.com/Segs/Segs.git","ssh_url":"git@github.com:Segs/Segs.git","clone_url":"https://github.com/Segs/Segs.git","svn_url":"https://github.com/Segs/Segs","homepage":"http://segs.io/","size":27980,"stargazers_count":104,"watchers_count":104,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":50,"mirror_url":null,"archived":false,"open_issues_count":71,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":50,"open_issues":71,"watchers":104,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Segs/Segs/pulls/680"},"html":{"href":"https://github.com/Segs/Segs/pull/680"},"issue":{"href":"https://api.github.com/repos/Segs/Segs/issues/680"},"comments":{"href":"https://api.github.com/repos/Segs/Segs/issues/680/comments"},"review_comments":{"href":"https://api.github.com/repos/Segs/Segs/pulls/680/comments"},"review_comment":{"href":"https://api.github.com/repos/Segs/Segs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Segs/Segs/pulls/680/commits"},"statuses":{"href":"https://api.github.com/repos/Segs/Segs/statuses/5b59f564a65aca01f94688a8e84b0bc233d9183b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dracc"}}