Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ hp
Function
hp
Sming/Libraries/flatbuffers/samples/Basic/include/monster.h:286–288 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
284
return SetField<int16_t>(VT_MANA, _mana, 150);
285
}
286
int16_t hp() const {
287
return GetField<int16_t>(VT_HP, 100);
288
}
289
bool mutate_hp(int16_t _hp) {
290
return SetField<int16_t>(VT_HP, _hp, 100);
291
}
Callers
1
UnPackTo
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected