MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / delete_player

Method delete_player

modules/module-test-cs/Lib.cs:418–426  ·  view source on GitHub ↗
(ReducerContext ctx, ulong id)

Source from the content-addressed store, hash-verified

416 }
417
418 [Reducer]
419 public static void delete_player(ReducerContext ctx, ulong id)
420 {
421 bool deleted = ctx.Db.test_e.id.Delete(id);
422 if (!deleted)
423 {
424 throw new Exception($"No TestE row with id {id}");
425 }
426 }
427
428 [Reducer]
429 public static void delete_players_by_name(ReducerContext ctx, string name)

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.45

Tested by

no test coverage detected