UWorld::GetNetMode

Returns the net mode this world is running under.