Initial Commit
This commit is contained in:
parent
53eb92e9af
commit
270ab7d11f
15341 changed files with 700234 additions and 0 deletions
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
|
||||
namespace MLAPI.Exceptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Exception thrown when the operation can only be done on the server
|
||||
/// </summary>
|
||||
public class NetworkConfigurationException : Exception
|
||||
{
|
||||
/// <summary>
|
||||
/// Constructs a NetworkConfigurationException
|
||||
/// </summary>
|
||||
public NetworkConfigurationException() { }
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a NetworkConfigurationException with a message
|
||||
/// </summary>
|
||||
/// <param name="message">The exception message</param>
|
||||
public NetworkConfigurationException(string message) : base(message) { }
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a NetworkConfigurationException with a message and a inner exception
|
||||
/// </summary>
|
||||
/// <param name="message">The exception message</param>
|
||||
/// <param name="inner">The inner exception</param>
|
||||
public NetworkConfigurationException(string message, Exception inner) : base(message, inner) { }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f50fae9dd20afbd438766cc330b188a4
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
|
||||
namespace MLAPI.Exceptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Exception thrown when the operation require NetworkManager to be listening.
|
||||
/// </summary>
|
||||
public class NotListeningException : Exception
|
||||
{
|
||||
/// <summary>
|
||||
/// Constructs a NotListeningException
|
||||
/// </summary>
|
||||
public NotListeningException() { }
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a NotListeningException with a message
|
||||
/// </summary>
|
||||
/// <param name="message">The exception message</param>
|
||||
public NotListeningException(string message) : base(message) { }
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a NotListeningException with a message and a inner exception
|
||||
/// </summary>
|
||||
/// <param name="message">The exception message</param>
|
||||
/// <param name="inner">The inner exception</param>
|
||||
public NotListeningException(string message, Exception inner) : base(message, inner) { }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: dc58b328162929140aeb42e6a4a9354b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
|
||||
namespace MLAPI.Exceptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Exception thrown when the operation can only be done on the server
|
||||
/// </summary>
|
||||
public class NotServerException : Exception
|
||||
{
|
||||
/// <summary>
|
||||
/// Constructs a NotServerException
|
||||
/// </summary>
|
||||
public NotServerException() { }
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a NotServerException with a message
|
||||
/// </summary>
|
||||
/// <param name="message">The exception message</param>
|
||||
public NotServerException(string message) : base(message) { }
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a NotServerException with a message and a inner exception
|
||||
/// </summary>
|
||||
/// <param name="message">The exception message</param>
|
||||
/// <param name="inner">The inner exception</param>
|
||||
public NotServerException(string message, Exception inner) : base(message, inner) { }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 751e55ce1418ecd4e9b08fef9d8e9591
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,33 @@
|
|||
using System;
|
||||
|
||||
namespace MLAPI.Exceptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Exception thrown when an object is not yet spawned
|
||||
/// </summary>
|
||||
public class SpawnStateException : Exception
|
||||
{
|
||||
/// <summary>
|
||||
/// Constructs a SpawnStateException
|
||||
/// </summary>
|
||||
public SpawnStateException() { }
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a SpawnStateException with a message
|
||||
/// </summary>
|
||||
/// <param name="message">The exception message</param>
|
||||
public SpawnStateException(string message) : base(message) { }
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a SpawnStateException with a message and a inner exception
|
||||
/// </summary>
|
||||
/// <param name="message">The exception message</param>
|
||||
/// <param name="inner">The inner exception</param>
|
||||
public SpawnStateException(string message, Exception inner) : base(message, inner) { }
|
||||
}
|
||||
|
||||
public class InvalidChannelException : Exception
|
||||
{
|
||||
public InvalidChannelException(string message) : base(message) { }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 70c2a851ae78c6e49b34c7e4ca46305f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
|
||||
namespace MLAPI.Exceptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Exception thrown when a visibility change fails
|
||||
/// </summary>
|
||||
public class VisibilityChangeException : Exception
|
||||
{
|
||||
/// <summary>
|
||||
/// Constructs a VisibilityChangeException
|
||||
/// </summary>
|
||||
public VisibilityChangeException() { }
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a VisibilityChangeException with a message
|
||||
/// </summary>
|
||||
/// <param name="message">The exception message</param>
|
||||
public VisibilityChangeException(string message) : base(message) { }
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a VisibilityChangeException with a message and a inner exception
|
||||
/// </summary>
|
||||
/// <param name="message">The exception message</param>
|
||||
/// <param name="inner">The inner exception</param>
|
||||
public VisibilityChangeException(string message, Exception inner) : base(message, inner) { }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 85d754bbea7d74a48918ebe05833e7ba
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Add table
Add a link
Reference in a new issue