Commit Graph

11 Commits

Author SHA1 Message Date
jeff ffe4f9298c Create "character identifier" type for use in all API requests.
Will replace the character_username and character_id values in all
relevant requests.
2021-01-10 20:45:15 +00:00
jeff ea4723cbe5 Add API endpoint for updating basic character info. 2021-01-10 13:56:44 +00:00
jeff c42f13af52 Remove unused REST semantics from cofd API. 2021-01-09 20:02:24 +00:00
jeff dd2741a0c1 Return semi-proper values from the protobuf HTTP API 2021-01-05 21:19:47 +00:00
jeff 76c67425b1 RPC-ify update attribute API. 2021-01-02 22:11:58 +00:00
jeff 9968cc4a6e Update skill value as rpc API (though not grpc) 2021-01-02 22:11:58 +00:00
jeff d1e29b40ed Implement updating skills. 2021-01-02 22:11:58 +00:00
jeff b467c32acb Switch to oneof field for game-specific information and values.
Having specific protobuf types for different game systems using the
same rule set (e.g. all the Chronicles of Darkness games) is untenable
because protobuf does not have inheritance or mixins.

Instead, we have one generic character sheet type, with a oneof field
for the game specifics. This will be used in conjunction with the
character's game system (stored in db) to render different stuff on
the character templates.

Without this, we'd wind up having duplicate templates, a lot more code
for handling specifics of each game system, and so on.
2021-01-01 23:34:50 +00:00
jeff 2cb547e16a Implement updating skills on the backend. 2021-01-01 00:40:48 +00:00
jeff c0a48245b1 Start of adding protobuf-based editable character sheet. 2020-12-27 21:03:10 +00:00
jeff d6a80a7996 Serialize characters as protobufs. Skeletal character creation.
Implements the absolute basics of the character creation flow, AKA
most things are missing. Integrates a method of storing character
data, support for that in the database, and a working character
creation page.

The only thing the page does at the moment is create a hardcoded basic
CofD character sheet and save it to the database. There is no ability
to change game system, fill in extra details, etc. There's also no
ability to edit anything.

Also added basic links to the registration and create new character
pages.
2020-12-07 22:37:18 +00:00