NorbiPeti
3432a1ae33
Return block objects based on the group, not a type param
Replaced typeToGroup with GroupToConstructor
The block object's type is determined by the exclusive group instead of a type parameter
Removed the Specialise() method, the API should always return specialised objects
This fixes the not supported exception but not the game crash that follows
3 years ago
NorbiPeti
7a53e1d32f
Fix command registration
3 years ago
NorbiPeti
b6b9a29a3c
Convert more things to use EcsObjectBase
Though the major benefit is only for blocks right now (using initializers)
3 years ago
NorbiPeti
6fedf90380
Remove struct layout stuff
It broke everything using the type
3 years ago
NorbiPeti
3eef859095
Update gen_csproj script and references
3 years ago
NorbiPeti
858a5c9b5c
Fix remaining errors, add support for managed entity DB
3 years ago
NorbiPeti
d238c97906
Remove block info getters and setters
Regex is great
GetBlockInfo\(this, \((\w+) (\w+)\) ?=> ?\2(.+)\);
GetBlockInfo<$1>(this)$3;
SetBlockInfo\(this, \(ref (\w+) (\w+), \w+ (\w+)\) ?=> \2(.*) = \3,\s*value\);
GetBlockInfo<$1>(this)$4 = value;
3 years ago
NorbiPeti
61184145a9
Start using new extension methods, code cleanup
Removed all of the different block property getter methods
3 years ago
NorbiPeti
2d99d1d478
Generalize optional references and init data
Added extension methods to query data from ECS objects
Added base class for ECS objects
Added support for representing in-construction ECS objects with an OptionalRef<T>
3 years ago
NorbiPeti
78ee3b3bcd
Fix block type check on placement
3 years ago
NorbiPeti
aea3ef3623
Remove AsyncUtils, fix FlyCam and GetThingLookedAt()
3 years ago
NorbiPeti
62afd3b780
Some file renames that were missing
3 years ago
NorbiPeti
5172b13b7c
Update readme and version
3 years ago
NorbiPeti
c914b5b393
Renamed all references of Gamecraft to Techblox
Except those that actually refer to the game's code
3 years ago
NorbiPeti
a6f52070ee
Rename to TechbloxModdingAPI
3 years ago