-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
233 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// THIS FILE HAS BEEN GENERATED AUTOMATICALLY | ||
// DO NOT CHANGE IT MANUALLY UNLESS YOU KNOW WHAT YOU'RE DOING | ||
// | ||
// GENERATED USING @colyseus/schema 1.0.1 | ||
// | ||
|
||
|
||
import io.colyseus.serializer.schema.Schema; | ||
import io.colyseus.serializer.schema.types.*; | ||
|
||
class Container extends Schema { | ||
@:type("map", "string") | ||
public var testMap: MapSchema<String> = new MapSchema<String>(); | ||
|
||
@:type("array", "number") | ||
public var testArray: ArraySchema<Dynamic> = new ArraySchema<Dynamic>(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
// | ||
// | ||
// THIS FILE HAS BEEN GENERATED AUTOMATICALLY | ||
// DO NOT CHANGE IT MANUALLY UNLESS YOU KNOW WHAT YOU'RE DOING | ||
// | ||
// | ||
// GENERATED USING @colyseus/schema 1.0.1 | ||
// | ||
// | ||
|
||
|
||
import io.colyseus.serializer.schema.Schema; | ||
import io.colyseus.serializer.schema.types.*; | ||
|
||
class State extends Schema { | ||
@:type("map", "string") | ||
public var testMap: MapSchema<String> = new MapSchema<String>(); | ||
|
||
@:type("array", "number") | ||
public var testArray: ArraySchema<Dynamic> = new ArraySchema<Dynamic>(); | ||
@:type("ref", Container) | ||
public var container: Container = new Container(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// THIS FILE HAS BEEN GENERATED AUTOMATICALLY | ||
// DO NOT CHANGE IT MANUALLY UNLESS YOU KNOW WHAT YOU'RE DOING | ||
// | ||
// GENERATED USING @colyseus/schema 1.0.1 | ||
// | ||
|
||
package schema.callbacks; | ||
import io.colyseus.serializer.schema.Schema; | ||
import io.colyseus.serializer.schema.types.*; | ||
|
||
class CallbacksState extends Schema { | ||
@:type("ref", Container) | ||
public var container: Container = new Container(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// | ||
// THIS FILE HAS BEEN GENERATED AUTOMATICALLY | ||
// DO NOT CHANGE IT MANUALLY UNLESS YOU KNOW WHAT YOU'RE DOING | ||
// | ||
// GENERATED USING @colyseus/schema 1.0.1 | ||
// | ||
|
||
package schema.callbacks; | ||
import io.colyseus.serializer.schema.Schema; | ||
import io.colyseus.serializer.schema.types.*; | ||
|
||
class Container extends Schema { | ||
@:type("number") | ||
public var num: Dynamic = 0; | ||
|
||
@:type("string") | ||
public var str: String = ""; | ||
|
||
@:type("ref", Ref) | ||
public var ref: Ref = new Ref(); | ||
|
||
@:type("array", Ref) | ||
public var arrayOfSchemas: ArraySchema<Ref> = new ArraySchema<Ref>(); | ||
|
||
@:type("array", "number") | ||
public var arrayOfNumbers: ArraySchema<Dynamic> = new ArraySchema<Dynamic>(); | ||
|
||
@:type("array", "string") | ||
public var arrayOfStrings: ArraySchema<String> = new ArraySchema<String>(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// THIS FILE HAS BEEN GENERATED AUTOMATICALLY | ||
// DO NOT CHANGE IT MANUALLY UNLESS YOU KNOW WHAT YOU'RE DOING | ||
// | ||
// GENERATED USING @colyseus/schema 1.0.1 | ||
// | ||
|
||
package schema.callbacks; | ||
import io.colyseus.serializer.schema.Schema; | ||
import io.colyseus.serializer.schema.types.*; | ||
|
||
class Ref extends Schema { | ||
@:type("number") | ||
public var num: Dynamic = 0; | ||
|
||
} |