mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Syntax
This commit is contained in:
parent
4d76ac5301
commit
22c97de71a
@ -1463,7 +1463,7 @@ public static bool IsDerivedFrom(TypeDefinition td, TypeReference baseClass)
|
||||
return false;
|
||||
}
|
||||
|
||||
static public bool ImplementsInterface(TypeDefinition td, TypeReference baseInterface)
|
||||
public static bool ImplementsInterface(TypeDefinition td, TypeReference baseInterface)
|
||||
{
|
||||
TypeDefinition typedef = td;
|
||||
|
||||
@ -1491,7 +1491,7 @@ static public bool ImplementsInterface(TypeDefinition td, TypeReference baseInte
|
||||
return false;
|
||||
}
|
||||
|
||||
static public bool IsValidTypeToGenerate(TypeDefinition variable)
|
||||
public static bool IsValidTypeToGenerate(TypeDefinition variable)
|
||||
{
|
||||
// a valid type is a simple class or struct. so we generate only code for types we dont know, and if they are not inside
|
||||
// this assembly it must mean that we are trying to serialize a variable outside our scope. and this will fail.
|
||||
|
Loading…
Reference in New Issue
Block a user