Mirror/docs/Classes/index.md

27 lines
1.6 KiB
Markdown
Raw Normal View History

# Classes Overview
General description of Classes
- [NetworkServer](NetworkServer)
NetworkServer is a High-Level-API class that manages connections from multiple clients.
- [NetworkClient](NetworkClient)
NetworkClient 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.
- [NetworkConnection](NetworkConnection)
NetworkConnection is a high-level API class that encapsulates a network connection.
- [NetworkBehavior](NetworkBehavior)
NetworkBehaviour scripts work with GameObjects that have a NetworkIdentity component. These scripts can perform high-level API functions such as Commands, ClientRPCs, SyncEvents and SyncVars.
- [Attributes](Attributes)
Networking attributes are added to member functions of NetworkBehaviour scripts, to make them run on either the client or server.
2019-03-30 13:47:15 +00:00
- [SyncVars](SyncVars)
2019-03-30 13:32:20 +00:00
SyncVars are variables of scripts that inherit from NetworkBehaviour, which are synchronized from the server to clients.
2019-03-30 13:49:28 +00:00
- [SyncEvents](SyncEvent)
2019-03-30 13:38:31 +00:00
SyncEvents are networked events like ClientRpcs, but instead of calling a function on the GameObject, they trigger Events instead.
- [SyncLists](SyncLists)
SyncLists contain lists of values and synchronize data from servers to clients.
2019-03-30 12:15:33 +00:00
- [SyncDictionary](SyncDictionary)
2019-03-30 12:23:39 +00:00
A SyncDictionary is an associative array containing an unordered list of key, value pairs.
2019-03-30 12:15:33 +00:00
- [SyncHashSet](SyncHashSet)
Description Needed
- [SyncSortedSet](SyncSortedSet)
Description Needed