| 216 | |
| 217 | // View to find the player associated with the calling identity |
| 218 | SPACETIMEDB_VIEW(std::optional<Player>, my_player, Public, ViewContext ctx) { |
| 219 | return ctx.db[player_identity].find(ctx.sender()); |
| 220 | } |
| 221 | |
| 222 | SPACETIMEDB_VIEW(std::optional<Person>, first_person, Public, AnonymousViewContext ctx) { |
| 223 | (void)ctx; |