Out with MagicOnion, in with LiteNetLib

Removed MagicOnion
Added LiteNetLib
Created client and server abstractions
Fixed serialization bugs
This commit is contained in:
hyperion51 2020-03-24 14:36:22 +00:00
commit e96146b7bb
869 changed files with 59401 additions and 16812 deletions

View file

@ -0,0 +1,21 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace RethinkDb.Driver.Model {
public static class AuthType {
public const string Basic = "basic";
public const string Digest = "digest";
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1cb2cfb8d6716cb4bb9490aa7074b096
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,21 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace RethinkDb.Driver.Model {
public static class Bound {
public const string Open = "open";
public const string Closed = "closed";
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 6c02a319eb8355741b589b1220aeda7f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,22 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace RethinkDb.Driver.Model {
public static class Conflict {
public const string Error = "error";
public const string Replace = "replace";
public const string Update = "update";
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d7e93e001feed81469486cd008e40a40
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,21 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace RethinkDb.Driver.Model {
public static class Durability {
public const string Hard = "hard";
public const string Soft = "soft";
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b95b7a9a50becf843be3c787e3852311
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,21 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace RethinkDb.Driver.Model {
public static class EmergencyRepair {
public const string UnsafeRollback = "unsafe_rollback";
public const string UnsafeRollbackOrErase = "unsafe_rollback_or_erase";
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 30dc86498f9a80c44bdf4ca055f27812
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,21 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace RethinkDb.Driver.Model {
public static class Format {
public const string Raw = "raw";
public const string Native = "native";
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: cf7213c306c4fb8468b34cc4e193f692
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,21 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace RethinkDb.Driver.Model {
public static class GeoSystem {
public const string WGS84 = "WGS84";
public const string UnitSphere = "unit_sphere";
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c0c94b4e55a90e04a889175b20c0425b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,25 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace RethinkDb.Driver.Model {
public static class HttpMethod {
public const string GET = "GET";
public const string POST = "POST";
public const string PUT = "PUT";
public const string PATCH = "PATCH";
public const string DELETE = "DELETE";
public const string HEAD = "HEAD";
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 359efe1c840fefa4c9eafdaa52424cd0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,21 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace RethinkDb.Driver.Model {
public static class IdentifierFormat {
public const string Name = "name";
public const string Uuid = "uuid";
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 69cd42f4fe261fe4b904dfd3b6dde1ed
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,22 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace RethinkDb.Driver.Model {
public static class ReadMode {
public const string Single = "single";
public const string Majority = "majority";
public const string Outdated = "outdated";
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 44a43bc52fc74d84e9e67591023cdb01
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,19 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Ast;
namespace RethinkDb.Driver.Ast {
public delegate object ReqlFunction0 ( );
//marker interface for marking some terms (like javascript) as lambdas.
//public interface IReqlFunction0Expr : ReqlLambda { }
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 176f39b7bbd2aa04993fec0045d51cd8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,19 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Ast;
namespace RethinkDb.Driver.Ast {
public delegate object ReqlFunction1 ( ReqlExpr arg1 );
//marker interface for marking some terms (like javascript) as lambdas.
//public interface IReqlFunction1Expr : ReqlLambda { }
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 0ba964f19ce6fd045b3f315b2a98d2fa
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,19 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Ast;
namespace RethinkDb.Driver.Ast {
public delegate object ReqlFunction2 ( ReqlExpr arg1, ReqlExpr arg2 );
//marker interface for marking some terms (like javascript) as lambdas.
//public interface IReqlFunction2Expr : ReqlLambda { }
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f4433a235e4733349a80111792b58c5b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,19 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Ast;
namespace RethinkDb.Driver.Ast {
public delegate object ReqlFunction3 ( ReqlExpr arg1, ReqlExpr arg2, ReqlExpr arg3 );
//marker interface for marking some terms (like javascript) as lambdas.
//public interface IReqlFunction3Expr : ReqlLambda { }
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7903ba429aa941a419ce8bf930b2d550
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,19 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using System;
using RethinkDb.Driver.Model;
using RethinkDb.Driver.Ast;
namespace RethinkDb.Driver.Ast {
public delegate object ReqlFunction4 ( ReqlExpr arg1, ReqlExpr arg2, ReqlExpr arg3, ReqlExpr arg4 );
//marker interface for marking some terms (like javascript) as lambdas.
//public interface IReqlFunction4Expr : ReqlLambda { }
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a5c51d137f2a7594aa4906b503e68380
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,24 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace RethinkDb.Driver.Model {
public static class ResultFormat {
public const string Text = "text";
public const string Json = "json";
public const string Jsonp = "jsonp";
public const string Binary = "binary";
public const string Auto = "auto";
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a02838e2422f28547ba8f46b0cdfd614
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,23 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace RethinkDb.Driver.Model {
public static class Status {
public const string ReadyForOutdatedReads = "ready_for_outdated_reads";
public const string ReadyForReads = "ready_for_reads";
public const string ReadyForWrites = "ready_for_writes";
public const string AllReplicasReady = "all_replicas_ready";
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f389494f6ac95df4385e50b028d9b989
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 27d29af5ad292074c975b6ada89223a2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,24 @@
//AUTOGENERATED, DO NOTMODIFY.
//Do not edit this file directly.
#pragma warning disable 1591
// ReSharper disable CheckNamespace
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace RethinkDb.Driver.Model {
public static class Unit {
public const string M = "m";
public const string Km = "km";
public const string Mi = "mi";
public const string Nm = "nm";
public const string Ft = "ft";
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 3724622e92f844f45a631abbca18b0b7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: