yuanshen/Yuanshen.Proto/GadgetStateNotify.proto
wisedev 62205c8062 Chests, ore and artifact drops
Gadgets are streamed alongside monsters now, so chests and ore nodes show up in
the world and can be interacted with. The two flows differ: for a chest the
client sends the finish request itself and the loot is granted on that one, for
ore it sends nothing more so the server has to close everything on the first
request.

Artifacts used to be silently dropped on the floor because the item ids that
actually roll were not in the reliquary table at all. Added the missing rows and
gave them real main stat and substat rolls instead of the fixed four.

Dropped items survive a relogin. The inventory is still rebuilt from the tables
on every login, so the trick is to remember where the default set ends and only
persist what was found in the world. Gacha and shop weapons were disappearing
the same way and are fixed by the same change.
2026-09-04 10:11:21 +03:00

9 lines
179 B
Protocol Buffer

syntax = "proto3";
option csharp_namespace = "Yuanshen.Protocol";
message GadgetStateNotify {
uint32 gadgetEntityId = 1;
uint32 gadgetState = 2;
bool isEnableInteract = 3;
}