Meteor-Unity
3
A C#-based SDK for connecting Unity to Meteor servers
|
Public Member Functions | |
override int | GetHashCode () |
Serves as a hash function for a Meteor.Error object. This is defined as the error code in order to facilitate better comparisons. More... | |
override bool | Equals (object obj) |
Determines whether the specified System.Object is equal to the current Meteor.Error. If both objects are errors, their reason and error codes will be compared instead of the instances. More... | |
Static Public Member Functions | |
static bool | operator== (Error a, Error b) |
Compares two error objects to see if their reasons and error codes are equal. More... | |
static bool | operator!= (Error a, Error b) |
Compares two error objects to see if their reasons and error codes are not equal. More... | |
Public Attributes | |
string | reason |
The reason for the error. Corresponds to the second argument of your More... | |
int | error |
The error code. Corresponds to the first argument of your More... | |
string | details |
The error details. Corresponds to the third and last argument of your More... | |
A Meteor error.
|
inline |
Determines whether the specified System.Object is equal to the current Meteor.Error. If both objects are errors, their reason and error codes will be compared instead of the instances.
obj | The System.Object to compare with the current Meteor.Error. |
true
if the specified System.Object is equal to the current Meteor.Error; otherwise, false
.
|
inline |
Serves as a hash function for a Meteor.Error object. This is defined as the error code in order to facilitate better comparisons.
Compares two error objects to see if their reasons and error codes are not equal.
Compares two error objects to see if their reasons and error codes are equal.
string Meteor.Error.details |
The error details. Corresponds to the third and last argument of your
new Meteor.Error
call in your Meteor code.
int Meteor.Error.error |
The error code. Corresponds to the first argument of your
new Meteor.Error
call in your Meteor code.
string Meteor.Error.reason |
The reason for the error. Corresponds to the second argument of your
new Meteor.Error
call in your Meteor code.