This repository has been archived on 2024-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
snakeinabox/Assets/Oculus/Platform/Scripts/SendPolicy.cs
2020-07-09 11:41:01 -07:00

31 lines
1,022 B
C#

// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
namespace Oculus.Platform
{
using Description = System.ComponentModel.DescriptionAttribute;
public enum SendPolicy : int
{
/// Sends a message using an unreliable data channel (UDP-based). No delivery
/// or ordering guarantees are provided. Sending will fail unless a connection
/// to the peer is already established, either via a previous call to
/// Net.SendPacket() or an explicit Net.Connect().
///
/// Ideally, each message should fit into a single packet. Therefore, it is
/// recommended to keep them under 1200 bytes.
[Description("UNRELIABLE")]
Unreliable,
/// Messages are delivered reliably and in order. The networking layer retries
/// until each message is acknowledged by the peer. Outgoing messages are
/// buffered until a working connection to the peer is established.
[Description("RELIABLE")]
Reliable,
[Description("UNKNOWN")]
Unknown,
}
}