Commit Graph

7 Commits

Author SHA1 Message Date
projectmoon b042a32f82 RPC-ify update attribute API. 2021-01-02 22:11:58 +00:00
projectmoon f2edd91a72 Update skill value as rpc API (though not grpc) 2021-01-02 22:11:58 +00:00
projectmoon ee8f7e58e8 Implement updating skills. 2021-01-02 22:11:58 +00:00
projectmoon 0ca23b46c6 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
projectmoon 7a71d5ad0a Implement updating skills on the backend. 2021-01-01 00:40:48 +00:00
projectmoon 4023bdc08a Start of adding protobuf-based editable character sheet. 2020-12-27 21:03:10 +00:00
projectmoon 8b3e8c70ae 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