Table of Contents

Class PacketCompressionLayer

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

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
Object
Component
Behaviour
MonoBehaviour
IntermediateLayer
PacketCompressionLayer
Inherited Members
IntermediateLayer.TransportManager
IntermediateLayer.InitializeOnce(TransportManager)
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.destroyCancellationToken
MonoBehaviour.useGUILayout
MonoBehaviour.didStart
MonoBehaviour.didAwake
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.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.transform
Component.transformHandle
Component.gameObject
Component.tag
Object.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.name
Object.hideFlags

Methods

HandleIncoming(ArraySegment<byte>, bool)

Called when data is received.

public override ArraySegment<byte> HandleIncoming(ArraySegment<byte> src, bool fromServer)

Parameters

src ArraySegment<byte>

Original data.

fromServer bool

True 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

src ArraySegment<byte>

Original data.

toServer bool

True if sending to the server, false if to a client.

Returns

ArraySegment<byte>

Modified data.