BlueGit

blue-star ggj-2020

Files

ggj-2020 / Assets / Oculus / Platform / Scripts / SendPolicy.cs

SendPolicy.cs

Project Import
timfa Tim Falken · pushed by timfa · 6 years ago
b77834a1 History
SendPolicy.cs 1022 B Download Raw
1// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
2
3namespace Oculus.Platform
4{
5
6 using Description = System.ComponentModel.DescriptionAttribute;
7
8 public enum SendPolicy : int
9 {
10 /// Sends a message using an unreliable data channel (UDP-based). No delivery
11 /// or ordering guarantees are provided. Sending will fail unless a connection
12 /// to the peer is already established, either via a previous call to
13 /// Net.SendPacket() or an explicit Net.Connect().
14 ///
15 /// Ideally, each message should fit into a single packet. Therefore, it is
16 /// recommended to keep them under 1200 bytes.
17 [Description("UNRELIABLE")]
18 Unreliable,
19
20 /// Messages are delivered reliably and in order. The networking layer retries
21 /// until each message is acknowledged by the peer. Outgoing messages are
22 /// buffered until a working connection to the peer is established.
23 [Description("RELIABLE")]
24 Reliable,
25
26 [Description("UNKNOWN")]
27 Unknown,
28
29 }
30
31}