Method SendPackageRoutine
|
Improve this Doc
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
|
Improve this Doc
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