Skip to content

Commit

Permalink
temp commit pre clean
Browse files Browse the repository at this point in the history
  • Loading branch information
Kruhlmann committed May 20, 2024
1 parent 2e0ebf1 commit c69fb5b
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use nix
4 changes: 4 additions & 0 deletions lib/api/game/platformlogin.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
open Data.Platform
open Data.Credentials

let login game domain platform credentials = ()
24 changes: 24 additions & 0 deletions lib/data/platform/credentials.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
type t =
{ account_type : Platform_type.t
; active_match_id : string
; alias : string
; app_id : int
; auth : string
; call_num : int
; client_lib_version : int
; connect_id : string
; country : string
; installation_type : string
; language : string
; mac_address : string
; major_version : string
; minor_version : string
; platform_environment : string
; platform_user_id : string
; start_game_token : string
; store_license_token : string
; store_token : string
; sync_hash : string
; timeout_override : int
; game : Game.t
}
5 changes: 5 additions & 0 deletions lib/data/platform/platform_type.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
type t =
| Steam
| Xbox

let to_str = function Steam -> "STEAM" | Xbox -> "XBOX"
1 change: 1 addition & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ pkgs.mkShell{
opam
openssl
ocamlPackages.ocamlformat
ocamlPackages.ocaml-lsp
pkg-config
zlib
];
Expand Down

0 comments on commit c69fb5b

Please sign in to comment.