valence/src
Ryan Johnson 56ebcaf50d
Add Username<S> type (#132)
There are a number of places where usernames are passed around. Using this type ensures that the contained string is actually a valid username and not some other kind of string. For instance you can use it as a function argument to indicate that only valid usernames are accepted, or return it from a function to indicate that only valid usernames are produced.

This is analogous to the existing `Ident<S>` type.
2022-10-22 20:17:06 -07:00
..
chunk Fix math in chunk module 2022-10-18 01:45:26 -07:00
client don't bother marking the inventory as dirty when handling SetCreativeModeSlot (#134) 2022-10-22 18:36:17 -07:00
entity Add encoded_len method to Encode trait. (#125) 2022-10-19 01:52:02 -07:00
protocol Add Username<S> type (#132) 2022-10-22 20:17:06 -07:00
server Add Username<S> type (#132) 2022-10-22 20:17:06 -07:00
biome.rs Add warning about missing "plains" biome 2022-10-22 14:01:25 -07:00
block.rs Add encoded_len method to Encode trait. (#125) 2022-10-19 01:52:02 -07:00
block_pos.rs Add encoded_len method to Encode trait. (#125) 2022-10-19 01:52:02 -07:00
bvh.rs Fix stack overflow during BVH construction 2022-07-17 22:07:51 -07:00
chunk.rs Fix math in chunk module 2022-10-18 01:45:26 -07:00
chunk_pos.rs Only set center chunk when crossing chunk borders, not sections 2022-09-19 21:03:39 -07:00
client.rs Add Username<S> type (#132) 2022-10-22 20:17:06 -07:00
config.rs Add Username<S> type (#132) 2022-10-22 20:17:06 -07:00
dimension.rs Rewrite ident module (again) (#111) 2022-10-12 03:53:59 -07:00
enchant.rs Expose enchantments to Rust (#99) 2022-10-03 13:19:42 -07:00
entity.rs Add performance tests (#113) 2022-10-14 21:18:03 -07:00
ident.rs Add Username<S> type (#132) 2022-10-22 20:17:06 -07:00
inventory.rs Set up Inventory module (#75) 2022-10-15 19:47:02 -07:00
item.rs Add encoded_len method to Encode trait. (#125) 2022-10-19 01:52:02 -07:00
lib.rs Add Username<S> type (#132) 2022-10-22 20:17:06 -07:00
player_list.rs Skip spawn of non visible player characters (#100) 2022-10-08 15:12:30 -07:00
player_textures.rs Redesign SignedPlayerTextures (#130) 2022-10-21 19:10:37 -07:00
protocol.rs Add encoded_len method to Encode trait. (#125) 2022-10-19 01:52:02 -07:00
server.rs Add Username<S> type (#132) 2022-10-22 20:17:06 -07:00
slab.rs Fix clippy issues 2022-09-02 00:37:02 -07:00
slab_rc.rs Fix clippy issues 2022-09-02 00:37:02 -07:00
slab_versioned.rs Fix clippy issues 2022-09-02 00:37:02 -07:00
spatial_index.rs Remove dbg! macro 2022-10-16 04:13:10 -07:00
text.rs Add encoded_len method to Encode trait. (#125) 2022-10-19 01:52:02 -07:00
username.rs Add Username<S> type (#132) 2022-10-22 20:17:06 -07:00
util.rs Add Username<S> type (#132) 2022-10-22 20:17:06 -07:00
world.rs Chunk Rewrite With Paletted Containers (#91) 2022-10-07 15:52:55 -07:00