MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / GetLocalRole

Method GetLocalRole

netgames/dmfc/dmfcbase.cpp:1795–1795  ·  view source on GitHub ↗

DMFCBase::GetLocalRole Returns your role in the multiplayer game. The result returned will be either LR_SERVER or LR_CLIENT

Source from the content-addressed store, hash-verified

1793//
1794// Returns your role in the multiplayer game. The result returned will be either LR_SERVER or LR_CLIENT
1795int DMFCBase::GetLocalRole(void) { return Netgame->local_role; }
1796
1797// DMFCBase::CheckPlayerNum
1798//

Callers 15

DLLFUNCCALL DLLGameCallFunction · 0.80
OnTimerRegenFunction · 0.80
DLLFUNCCALL DLLGameCallFunction · 0.80
DLLFUNCCALL DLLGameCallFunction · 0.80
OnIntervalFunction · 0.80
HandleLosePowerballFunction · 0.80
HandlePickupPowerballFunction · 0.80
OnClientCollideFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected