Class PacketCompressionLayer
The FishNet intermediate layer that applies PacketCompression to every packet both ways. Added by TryInstall(NetworkManager); never placed in a scene.
public sealed class PacketCompressionLayer : IntermediateLayer
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourIntermediateLayerPacketCompressionLayer
- Inherited Members
-
IntermediateLayer.TransportManagerIntermediateLayer.InitializeOnce(TransportManager)MonoBehaviour.IsInvoking()MonoBehaviour.CancelInvoke()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.destroyCancellationTokenMonoBehaviour.useGUILayoutMonoBehaviour.didStartMonoBehaviour.didAwakeMonoBehaviour.runInEditModeBehaviour.enabledBehaviour.isActiveAndEnabledComponent.GetComponent<T>()Component.TryGetComponent<T>(out T)Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentInParent<T>()Component.GetComponentsInParent<T>()Component.GetComponents<T>()Component.GetComponentIndex()Component.CompareTag(TagHandle)Component.transformComponent.transformHandleComponent.gameObjectComponent.tagObject.GetEntityId()Object.GetInstanceID()Object.GetHashCode()Object.InstantiateAsync<T>(T)Object.InstantiateAsync<T>(T, Transform)Object.InstantiateAsync<T>(T, Vector3, Quaternion)Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion, Transform)Object.Instantiate(Object)Object.Instantiate(Object, Scene)Object.Instantiate<T>(T, InstantiateParameters)Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DontDestroyOnLoad(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.FindObjectsByType<T>(FindObjectsSortMode)Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)Object.FindObjectOfType<T>()Object.FindFirstObjectByType<T>()Object.FindAnyObjectByType<T>()Object.FindFirstObjectByType<T>(FindObjectsInactive)Object.FindAnyObjectByType<T>(FindObjectsInactive)Object.FindObjectsByType<T>()Object.FindObjectsByType<T>(FindObjectsInactive)Object.ToString()Object.nameObject.hideFlags
Methods
HandleIncoming(ArraySegment<byte>, bool)
Called when data is received.
public override ArraySegment<byte> HandleIncoming(ArraySegment<byte> src, bool fromServer)
Parameters
srcArraySegment<byte>Original data.
fromServerboolTrue if receiving from the server, false if from a client.
Returns
- ArraySegment<byte>
Modified data.
HandleOutgoing(ArraySegment<byte>, bool)
Called when data is sent.
public override ArraySegment<byte> HandleOutgoing(ArraySegment<byte> src, bool toServer)
Parameters
srcArraySegment<byte>Original data.
toServerboolTrue if sending to the server, false if to a client.
Returns
- ArraySegment<byte>
Modified data.