-
Notifications
You must be signed in to change notification settings - Fork 2
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
MinterTeam
committed
Jul 20, 2024
0 parents
commit 1d70f1b
Showing
7 changed files
with
936 additions
and
0 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,116 @@ | ||
// @generated by protoc-gen-connect-es v1.0.0-rc1 | ||
// @generated from file poker.proto (package pokerhero, syntax proto3) | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
|
||
import { AdminTxRequest, AdminTxResponse, AllLeaveRoomRequest, CreateRoomRequest, EditRoomRequest, LeaveRoomRequest, PingRequest, PongResponse, RoomRequest, RoomResponse, RoomsRequest, RoomsResponse, UpdateRoomRequest } from "./poker_pb.js"; | ||
import { MethodKind } from "@bufbuild/protobuf"; | ||
|
||
/** | ||
* @generated from service pokerhero.Poker | ||
*/ | ||
export declare const Poker: { | ||
readonly typeName: "pokerhero.Poker", | ||
readonly methods: { | ||
/** | ||
* @generated from rpc pokerhero.Poker.Room | ||
*/ | ||
readonly room: { | ||
readonly name: "Room", | ||
readonly I: typeof RoomRequest, | ||
readonly O: typeof RoomResponse, | ||
readonly kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* @generated from rpc pokerhero.Poker.Rooms | ||
*/ | ||
readonly rooms: { | ||
readonly name: "Rooms", | ||
readonly I: typeof RoomsRequest, | ||
readonly O: typeof RoomsResponse, | ||
readonly kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* CreateRoom (protected) | ||
* 1. Creates room | ||
* 2. Joins first player | ||
* | ||
* @generated from rpc pokerhero.Poker.CreateRoom | ||
*/ | ||
readonly createRoom: { | ||
readonly name: "CreateRoom", | ||
readonly I: typeof CreateRoomRequest, | ||
readonly O: typeof RoomResponse, | ||
readonly kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* UpdateRoom (protected) | ||
* 1. Updates balances in the room | ||
* | ||
* @generated from rpc pokerhero.Poker.UpdateRoom | ||
*/ | ||
readonly updateRoom: { | ||
readonly name: "UpdateRoom", | ||
readonly I: typeof UpdateRoomRequest, | ||
readonly O: typeof RoomResponse, | ||
readonly kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* LeaveRoom (protected) | ||
* 1. Pushes player from the room | ||
* 2. Sends funds back to player | ||
* | ||
* @generated from rpc pokerhero.Poker.LeaveRoom | ||
*/ | ||
readonly leaveRoom: { | ||
readonly name: "LeaveRoom", | ||
readonly I: typeof LeaveRoomRequest, | ||
readonly O: typeof RoomResponse, | ||
readonly kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* AllLeaveRoom (protected) | ||
* 1. Pushes all player from all the rooms | ||
* 2. Sends funds back to players | ||
* | ||
* @generated from rpc pokerhero.Poker.AllLeaveRoom | ||
*/ | ||
readonly allLeaveRoom: { | ||
readonly name: "AllLeaveRoom", | ||
readonly I: typeof AllLeaveRoomRequest, | ||
readonly O: typeof RoomsResponse, | ||
readonly kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* EditRoom (protected) | ||
* 1. Changes blinds in the room | ||
* | ||
* @generated from rpc pokerhero.Poker.EditRoom | ||
*/ | ||
readonly editRoom: { | ||
readonly name: "EditRoom", | ||
readonly I: typeof EditRoomRequest, | ||
readonly O: typeof RoomResponse, | ||
readonly kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* @generated from rpc pokerhero.Poker.AdminTx | ||
*/ | ||
readonly adminTx: { | ||
readonly name: "AdminTx", | ||
readonly I: typeof AdminTxRequest, | ||
readonly O: typeof AdminTxResponse, | ||
readonly kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* @generated from rpc pokerhero.Poker.Ping | ||
*/ | ||
readonly ping: { | ||
readonly name: "Ping", | ||
readonly I: typeof PingRequest, | ||
readonly O: typeof PongResponse, | ||
readonly kind: MethodKind.Unary, | ||
}, | ||
} | ||
}; | ||
|
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,116 @@ | ||
// @generated by protoc-gen-connect-es v1.0.0-rc1 | ||
// @generated from file poker.proto (package pokerhero, syntax proto3) | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
|
||
import { AdminTxRequest, AdminTxResponse, AllLeaveRoomRequest, CreateRoomRequest, EditRoomRequest, LeaveRoomRequest, PingRequest, PongResponse, RoomRequest, RoomResponse, RoomsRequest, RoomsResponse, UpdateRoomRequest } from "./poker_pb.js"; | ||
import { MethodKind } from "@bufbuild/protobuf"; | ||
|
||
/** | ||
* @generated from service pokerhero.Poker | ||
*/ | ||
export const Poker = { | ||
typeName: "pokerhero.Poker", | ||
methods: { | ||
/** | ||
* @generated from rpc pokerhero.Poker.Room | ||
*/ | ||
room: { | ||
name: "Room", | ||
I: RoomRequest, | ||
O: RoomResponse, | ||
kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* @generated from rpc pokerhero.Poker.Rooms | ||
*/ | ||
rooms: { | ||
name: "Rooms", | ||
I: RoomsRequest, | ||
O: RoomsResponse, | ||
kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* CreateRoom (protected) | ||
* 1. Creates room | ||
* 2. Joins first player | ||
* | ||
* @generated from rpc pokerhero.Poker.CreateRoom | ||
*/ | ||
createRoom: { | ||
name: "CreateRoom", | ||
I: CreateRoomRequest, | ||
O: RoomResponse, | ||
kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* UpdateRoom (protected) | ||
* 1. Updates balances in the room | ||
* | ||
* @generated from rpc pokerhero.Poker.UpdateRoom | ||
*/ | ||
updateRoom: { | ||
name: "UpdateRoom", | ||
I: UpdateRoomRequest, | ||
O: RoomResponse, | ||
kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* LeaveRoom (protected) | ||
* 1. Pushes player from the room | ||
* 2. Sends funds back to player | ||
* | ||
* @generated from rpc pokerhero.Poker.LeaveRoom | ||
*/ | ||
leaveRoom: { | ||
name: "LeaveRoom", | ||
I: LeaveRoomRequest, | ||
O: RoomResponse, | ||
kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* AllLeaveRoom (protected) | ||
* 1. Pushes all player from all the rooms | ||
* 2. Sends funds back to players | ||
* | ||
* @generated from rpc pokerhero.Poker.AllLeaveRoom | ||
*/ | ||
allLeaveRoom: { | ||
name: "AllLeaveRoom", | ||
I: AllLeaveRoomRequest, | ||
O: RoomsResponse, | ||
kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* EditRoom (protected) | ||
* 1. Changes blinds in the room | ||
* | ||
* @generated from rpc pokerhero.Poker.EditRoom | ||
*/ | ||
editRoom: { | ||
name: "EditRoom", | ||
I: EditRoomRequest, | ||
O: RoomResponse, | ||
kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* @generated from rpc pokerhero.Poker.AdminTx | ||
*/ | ||
adminTx: { | ||
name: "AdminTx", | ||
I: AdminTxRequest, | ||
O: AdminTxResponse, | ||
kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* @generated from rpc pokerhero.Poker.Ping | ||
*/ | ||
ping: { | ||
name: "Ping", | ||
I: PingRequest, | ||
O: PongResponse, | ||
kind: MethodKind.Unary, | ||
}, | ||
} | ||
}; | ||
|
Oops, something went wrong.