MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / suicide

Method suicide

source/frontend/StarClientCommandProcessor.cpp:328–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328String ClientCommandProcessor::suicide() {
329 m_universeClient->mainPlayer()->kill();
330 return "You are now dead";
331}
332
333String ClientCommandProcessor::naked() {
334 auto playerInventory = m_universeClient->mainPlayer()->inventory();

Callers

nothing calls this directly

Calls 2

killMethod · 0.80
mainPlayerMethod · 0.80

Tested by

no test coverage detected