Skip to content

Commit

Permalink
impl RTC (voice/audio) interface, etc
Browse files Browse the repository at this point in the history
* fixed loading xaudio dll if running project in editor
* rename ConnectInterface.query_product_user_id_mapping to query_product_user_id_mappings
* add IEOS.connect_interface_auth_expiration signal
* add IEOS.connect_interface_login_status_changed signal
  • Loading branch information
3ddelano committed Jan 4, 2024
1 parent 170ff60 commit 41b524f
Show file tree
Hide file tree
Showing 21 changed files with 1,929 additions and 201 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ Follow the instructions in [Running the service for local development](https://d
- [x] Implementation
- [x] Sample
- RTC Interface
- [ ] Implementation
- [x] Implementation
- [ ] Sample
- Sanctions Interface
- [x] Implementation
Expand Down
16 changes: 13 additions & 3 deletions sample/Main.gd
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ func _on_tab_pressed():
# test_sessions_interface()
# test_titlestorage_interface()
# test_user_info_interface()
test_rtc_interface()



Expand Down Expand Up @@ -321,6 +322,7 @@ func test_progression_snapshot_interface():




func test_presence_interface():
var opts1 = EOS.Presence.CreatePresenceModificationOptions.new()
var create_pmod_ret = EOS.Presence.PresenceInterface.create_presence_modification(opts1)
Expand Down Expand Up @@ -461,14 +463,14 @@ func test_playerdatastorage_interface():
var write_file_opts = EOS.PlayerDataStorage.WriteFileOptions.new()
write_file_opts.filename = "testfile-002.txt"
write_file_opts.data = PackedByteArray([65, 66, 67])
var write_transfer_request: EOSGFileTransferRequest = EOS.PlayerDataStorage.PlayerDataStorageInterface.write_file(write_file_opts)
var _write_transfer_request: EOSGFileTransferRequest = EOS.PlayerDataStorage.PlayerDataStorageInterface.write_file(write_file_opts)
# write_transfer_request.cancel_request()
await EOS.get_instance().playerdatastorage_interface_write_file_callback

print("Reading file")
var read_file_opts = EOS.PlayerDataStorage.ReadFileOptions.new()
read_file_opts.filename = "testfile-002.txt"
var read_transfer_request: EOSGFileTransferRequest = EOS.PlayerDataStorage.PlayerDataStorageInterface.read_file(read_file_opts)
var _read_transfer_request: EOSGFileTransferRequest = EOS.PlayerDataStorage.PlayerDataStorageInterface.read_file(read_file_opts)
# print(read_transfer_request.get_filename())
# print(read_transfer_request.cancel_request())

Expand All @@ -488,7 +490,7 @@ func test_titlestorage_interface():

var read_file_opts = EOS.TitleStorage.ReadFileOptions.new()
read_file_opts.filename = "title-001.txt"
var read_transfer_request: EOSGFileTransferRequest = EOS.TitleStorage.TitleStorageInterface.read_file(read_file_opts)
var _read_transfer_request: EOSGFileTransferRequest = EOS.TitleStorage.TitleStorageInterface.read_file(read_file_opts)
#print(read_transfer_request.get_filename())
#print(read_transfer_request.cancel_request())

Expand Down Expand Up @@ -653,6 +655,14 @@ func test_sessions_interface():



func test_rtc_interface():
#TODO: test rtc interface
pass





func get_view_manager():
return views

Expand Down
Loading

0 comments on commit 41b524f

Please sign in to comment.