Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
SimTX Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
SimTX API/Packets/CatalogList
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Fields == {| class="wikitable" ! # !! Field !! Type !! Description |- | 1 || <code>request_id</code> || <code>int64</code> || The request this answers. |- | 2 || <code>entries</code> || <code>repeated</code> [[#CatalogEntrySummary|CatalogEntrySummary]] || One summary per entry, ordered by kind, then name. |} === CatalogEntrySummary === <syntaxhighlight lang="protobuf"> message CatalogEntrySummary { int32 id = 1; string kind = 2; string name = 3; string description = 4; string author = 5; int32 size_bytes = 6; int32 file_count = 7; repeated string types = 8; // catalog types (string enum, common.proto) repeated string categories = 9; string package_id = 10; string package_version = 11; repeated CatalogDependency dependencies = 12; int32 revision = 13; int64 uploaded_at_ms = 14; } </syntaxhighlight> {| class="wikitable" ! # !! Field !! Type !! Description |- | 1 || <code>id</code> || <code>int32</code> || Entry ID. Stable across revisions. |- | 2 || <code>kind</code> || <code>string</code> || <code>extension</code> or <code>preset</code>. |- | 3 || <code>name</code> || <code>string</code> || Entry name. |- | 4 || <code>description</code> || <code>string</code> || Description, possibly empty. |- | 5 || <code>author</code> || <code>string</code> || Display name of the publishing account. |- | 6 || <code>size_bytes</code> || <code>int32</code> || Total size of the files. |- | 7 || <code>file_count</code> || <code>int32</code> || Number of files. |- | 8 || <code>types</code> || <code>repeated string</code> || [[SimTX API/Data types#Catalog type|Catalog type]] names. Skip names you do not know. |- | 9 || <code>categories</code> || <code>repeated string</code> || Free-text categories chosen by the author. |- | 10 || <code>package_id</code> || <code>string</code> || Extension package ID from the manifest, for example <code>com.example.beacon</code>. Empty for presets. |- | 11 || <code>package_version</code> || <code>string</code> || Package version (semantic versioning). Empty for presets. |- | 12 || <code>dependencies</code> || <code>repeated</code> [[#CatalogDependency|CatalogDependency]] || Packages this extension requires. |- | 13 || <code>revision</code> || <code>int32</code> || Revision number, starting at 1. Increases with every update by the owner. |- | 14 || <code>uploaded_at_ms</code> || <code>int64</code> || Time of the latest revision, Unix ms. |} === CatalogDependency === <syntaxhighlight lang="protobuf"> message CatalogDependency { string id = 1; string version_range = 2; } </syntaxhighlight> {| class="wikitable" ! # !! Field !! Type !! Description |- | 1 || <code>id</code> || <code>string</code> || Package ID of the required extension. |- | 2 || <code>version_range</code> || <code>string</code> || Accepted versions, as in the [[Lua extension manifest|manifest]]. |}
Summary:
Please note that all contributions to SimTX Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
SimTX Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)