2549 Commits

Author SHA1 Message Date
MihailRis
bc05716772 implement blocks data conversion 2024-10-01 19:08:45 +03:00
MihailRis
28d746f371 implement blocks data saving/loading 2024-09-30 23:42:16 +03:00
MihailRis
e84c79839c update blocks data lifetime 2024-09-30 21:33:19 +03:00
MihailRis
4f559c1086 refactor libblock 2024-09-30 20:15:22 +03:00
MihailRis
fc99343fb5 add block.get_field(...), block.set_field(...) 2024-09-30 18:55:01 +03:00
MihailRis
8d89e06ac5 Merge branch 'main' into blocks-metadata 2024-09-30 17:23:05 +03:00
MihailRis
572ae9fa39 add array as root element support to json parser 2024-09-30 00:36:14 +03:00
MihailRis
28b6ec2a0e Merge branch 'main' into blocks-metadata 2024-09-19 14:51:47 +03:00
MihailRis
cf77da3bd1
Merge pull request #304 from MihailRis/dynamic_update
Replace dynamic::Value with new implementation
2024-09-19 14:13:56 +03:00
MihailRis
d0328f2feb refactor Player serialization 2024-09-19 13:53:13 +03:00
MihailRis
3953583605 minimize extra dv::value copies 2024-09-19 13:45:32 +03:00
MihailRis
bd176f24e1 add some 'noexcept's 2024-09-19 12:36:00 +03:00
MihailRis
fa3e98e3e4 fix 2024-09-19 04:30:01 +03:00
MihailRis
4ae141d982 limit dv::value templated constructors & refactor 2024-09-19 04:22:57 +03:00
MihailRis
827a09b1d0 refactor data/dv & update data/dv-related tests 2024-09-19 00:40:06 +03:00
MihailRis
d6d07f0a3a update dv::elementreference::get(T) integer specializations 2024-09-19 00:23:24 +03:00
MihailRis
3613e31909 update dv::value::operator=(T) integer specializations 2024-09-19 00:10:15 +03:00
MihailRis
13edcd8700 add missing include 2024-09-18 23:56:06 +03:00
MihailRis
3717af34ae add missing include 2024-09-18 23:42:29 +03:00
MihailRis
34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00
MihailRis
d3ba4b2e3e update move assignment 2024-09-17 14:04:23 +03:00
MihailRis
afbef198c6 add dv::value.operator=(value&&) 2024-09-17 13:41:02 +03:00
MihailRis
a886404940 optimize move constructor 2024-09-17 01:17:27 +03:00
MihailRis
27c8307562 add dv::value support to binary_json 2024-09-16 22:53:27 +03:00
MihailRis
271db9a6f1 add dv::value support to json::parse 2024-09-16 22:23:22 +03:00
MihailRis
ceaa676a3a add dv::value support to json::stringify & add dv.cpp 2024-09-16 21:36:35 +03:00
MihailRis
f05ed4942d add util::Buffer copy constructor 2024-09-16 21:31:37 +03:00
MihailRis
9badc0a022 add dv::value.getType(), .empty() 2024-09-16 20:49:39 +03:00
MihailRis
9b26758519 add dv::value.size/length, .asObject() 2024-09-16 20:21:28 +03:00
MihailRis
3bc329041a add dv::list(initializer_list<value>) 2024-09-16 19:43:20 +03:00
MihailRis
2aae28e193 fix dv::value::operator=(const value&) 2024-09-16 19:27:59 +03:00
MihailRis
adde5bd80d add new dv::value methods and iterators 2024-09-15 18:23:05 +03:00
MihailRis
fa12b9b751 add dv::value.object(...), .list(...) 2024-09-15 11:15:37 +03:00
MihailRis
a014204d99 trigger actions 2024-09-15 01:57:12 +03:00
MihailRis
371d714774 add dv::value.add(...) 2024-09-15 01:01:11 +03:00
MihailRis
464eb9989c decrease dv::value size 2024-09-15 00:28:18 +03:00
MihailRis
d703567dc1 add data/dv.hpp 2024-09-14 23:25:43 +03:00
MihailRis
44753904dc add Chunk.blocksMetadata 2024-09-14 20:26:36 +03:00
MihailRis
3d219b9a1c fix msvc build 2024-09-14 19:15:41 +03:00
MihailRis
f5d2a1f1b7 make StructLayout serializable 2024-09-14 18:56:37 +03:00
MihailRis
8447cf5ad5 Merge branch 'main' into blocks-metadata 2024-09-13 13:22:27 +03:00
MihailRis
25c9c9a30a fix stars render 2024-09-13 11:35:53 +03:00
MihailRis
14affb72b6 add new Map and List bytebuffer-related methods 2024-09-12 18:25:52 +03:00
MihailRis
f341e22e3e
Merge pull request #303 from MihailRis/add-bjson-binary-data-type
Add dynamic::Value binary data type (byte-buffer)
2024-09-12 18:04:35 +03:00
MihailRis
c3fb30b20e fix bjson decoder 2024-09-12 17:39:05 +03:00
MihailRis
f8fadf8b74 add json BJSON_TYPE_BYTES support 2024-09-12 17:22:00 +03:00
MihailRis
6f4a7db910 add binary_json BJSON_TYPE_BYTES support 2024-09-12 16:24:51 +03:00
MihailRis
62c002252f Merge branch 'main' into add-bjson-binary-data-type 2024-09-12 16:22:50 +03:00
MihailRis
8589cae300 add ByteReader::remaining() 2024-09-12 16:22:32 +03:00
MihailRis
8b947fe78e add util::Buffer template 2024-09-12 13:43:08 +03:00