begin jiang

This commit is contained in:
Tao Tien 2026-02-13 10:11:17 -08:00
parent 8c4132e628
commit 042975e561
7 changed files with 134 additions and 16 deletions

View file

@ -4,6 +4,7 @@ use spacetimedb::{SpacetimeType, table};
use super::DbTile;
// FIXME this shant be public, use views
// TODO split up tables so we aren't sending this over the wire every update, or is differencial handled already
#[table(name = player, public)]
#[derive(Debug)]
pub struct Player {
@ -26,6 +27,7 @@ pub struct Player {
pub pond: Vec<DbTile>,
pub drawn_tile: Option<DbTile>,
pub actionable: Option<()>,
}
#[table(name = bot)]