2018-12-26 22:07:24 +00:00
# Classes Overview
2019-06-25 23:43:56 +00:00
Mirror includes the following classes:
2018-12-26 22:07:24 +00:00
2019-08-24 15:20:33 +00:00
- [NetworkServer ](NetworkServer.md )
2019-06-25 23:43:56 +00:00
Network Server is a High-Level-API class that manages connections from multiple clients.
2019-08-24 15:20:33 +00:00
- [NetworkClient ](NetworkClient.md )
2019-06-25 23:43:56 +00:00
Network Client is a high-level API class that manages a network connection from a client to a server, and can send and receive messages between the client and the server.
2019-08-24 15:20:33 +00:00
- [NetworkConnection ](NetworkConnection.md )
2019-06-25 23:43:56 +00:00
Network Connection is a high-level API class that encapsulates a network connection.
2019-08-24 15:20:33 +00:00
- [NetworkBehaviour ](NetworkBehaviour.md )
2019-06-25 23:43:56 +00:00
Network Behaviour scripts work with game objects that have a NetworkIdentity component. These scripts can perform high-level API functions such as Commands, ClientRpc’ s, SyncEvents and SyncVars.
2019-08-24 15:20:33 +00:00
- [Attributes ](Attributes.md )
2019-06-25 23:43:56 +00:00
Networking attributes are added to member functions of NetworkBehaviour scripts, to make them run on either the client or server.
2019-08-24 15:20:33 +00:00
- [SyncVars ](SyncVars.md )
2019-06-25 23:43:56 +00:00
SyncVars are variables of scripts that inherit from NetworkBehaviour, which are synchronized from the server to clients.
2019-08-24 15:20:33 +00:00
- [SyncEvents ](SyncEvent.md )
2019-06-25 23:43:56 +00:00
SyncEvents are networked events like ClientRpc’ s, but instead of calling a function on the game object, they trigger Events instead.
2019-08-24 15:20:33 +00:00
- [SyncLists ](SyncLists.md )
2019-03-23 12:26:33 +00:00
SyncLists contain lists of values and synchronize data from servers to clients.
2019-06-25 23:43:56 +00:00
2019-08-24 15:20:33 +00:00
- [SyncDictionary ](SyncDictionary.md )
2019-03-30 12:23:39 +00:00
A SyncDictionary is an associative array containing an unordered list of key, value pairs.
2019-06-25 23:43:56 +00:00
2019-08-24 15:20:33 +00:00
- [SyncHashSet ](SyncHashSet.md )
2019-03-30 16:51:06 +00:00
An unordered set of values that do not repeat.
2019-06-25 23:43:56 +00:00
2019-08-24 15:20:33 +00:00
- [SyncSortedSet ](SyncSortedSet.md )
2019-03-30 16:51:06 +00:00
A sorted set of values tha do not repeat.