Luanti 5.16.0-dev
Loading...
Searching...
No Matches
client.h File Reference
#include "clientenvironment.h"
#include "gamedef.h"
#include "gameparams.h"
#include "inventorymanager.h"
#include "irrlichttypes.h"
#include "network/address.h"
#include "network/networkprotocol.h"
#include "network/peerhandler.h"
#include "util/numeric.h"
#include "util/string.h"
#include <map>
#include <memory>
#include <ostream>
#include <set>
#include <unordered_set>
#include <vector>
Include dependency graph for client.h:

Go to the source code of this file.

Classes

class  PacketCounter
class  Client

Namespaces

namespace  scene
namespace  con

Macros

#define CLIENT_CHAT_MESSAGE_LIMIT_PER_10S   10.0f

Typedefs

using sound_handle_t = int
 IDs for playing sounds.

Enumerations

enum  LocalClientState { LC_Created , LC_Init , LC_Ready }

Macro Definition Documentation

◆ CLIENT_CHAT_MESSAGE_LIMIT_PER_10S

#define CLIENT_CHAT_MESSAGE_LIMIT_PER_10S   10.0f

Typedef Documentation

◆ sound_handle_t

using sound_handle_t = int

IDs for playing sounds.

0 is for sounds that are never modified after creation. Negative numbers are invalid. Positive numbers are allocated via allocateId and are manually reference-counted.

Enumeration Type Documentation

◆ LocalClientState

Enumerator
LC_Created 
LC_Init 
LC_Ready