[add] 遊戲Type

This commit is contained in:
建喵 2024-01-10 11:26:00 +08:00
parent 15c232308f
commit 128caeddef
3 changed files with 8 additions and 5 deletions

View File

@ -42,3 +42,6 @@ export enum EGameState {
OtherChooseCard, OtherChooseCard,
OtherTurnEnd, OtherTurnEnd,
} }
export enum EGameType {
foreigners
}

View File

@ -1,3 +1,3 @@
export interface ReqCreate { null: string } export interface ReqCreate { type: number }
export type ResCreate = number export type ResCreate = number

View File

@ -51,7 +51,7 @@ export interface ServiceType {
} }
export const serviceProto: ServiceProto<ServiceType> = { export const serviceProto: ServiceProto<ServiceType> = {
"version": 1, "version": 2,
"services": [ "services": [
{ {
"id": 0, "id": 0,
@ -175,10 +175,10 @@ export const serviceProto: ServiceProto<ServiceType> = {
"type": "Interface", "type": "Interface",
"properties": [ "properties": [
{ {
"id": 0, "id": 1,
"name": "null", "name": "type",
"type": { "type": {
"type": "String" "type": "Number"
} }
} }
] ]