gopenfusion/internal/db
CPunch 1f66acfd25 holy refactor
started out as me making a service abstraction..

- db.Player exists again, and entity.Player uses it as an embedded struct
- chunk.ForEachEntity() lets you add/remove entities during iteration now
- removed account related fields from CNPeer
- protocol/pool has been merged with protocol.
use protocol.GetBuffer() and protocol.PutBuffer().
- new protocol/internal/service!
service.Service is an abstraction layer to handle multiple CNPeer*
connections and allows you to associate each with an interface{} uData.
In the future it might also handle a task queue for jobs that
modify/interact with the player's uData, called from service.handleEvents()
- PacketHandler callback type has a new param! uData is passed as well now
- much of loginserver/shardserver is now handled by the shared service
abstraction
- SHARD: NPC_ENTER packets are now sent on player loading complete
rather than on enter.
2023-11-27 21:23:28 -06:00
..
migrations moved 'core' to 'internal' 2023-08-23 18:16:24 -05:00
account.go test: started internal/db test cases 2023-11-21 13:58:59 -06:00
db_test.go swithed to blackbox testing 2023-11-25 23:11:19 -06:00
inventory.go fix: SetPlayerInventorySlots actually uses tx now 2023-11-21 14:13:55 -06:00
players.go holy refactor 2023-11-27 21:23:28 -06:00
schema.go test: started internal/db test cases 2023-11-21 13:58:59 -06:00