Show / Hide Table of Contents

Method SendPackageRoutine

| Edit this page View Source

SendPackageRoutine(long, ZPackage)

Coroutine to send a package to a single target. Compresses and fragments the package if necessary.
Declaration
public IEnumerator SendPackageRoutine(long target, ZPackage package)
Parameters
Type Name Description
long target
ZPackage package
Returns
Type Description
IEnumerator
| Edit this page View Source

SendPackageRoutine(List<ZNetPeer>, ZPackage)

Coroutine to send a package to a list of peers. Compresses and fragments the package if necessary.
Declaration
public IEnumerator SendPackageRoutine(List<ZNetPeer> peers, ZPackage package)
Parameters
Type Name Description
List<ZNetPeer> peers
ZPackage package
Returns
Type Description
IEnumerator
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾