Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Assets/Talo Game Services/Talo/Runtime/APIs/ChannelsAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public class ChannelsAPI : BaseAPI
public event Action<Channel> OnChannelDeleted;
public event Action<Channel, string[]> OnChannelUpdated;
public event Action<RejectedProp[]> OnChannelPropsRejected;
public event Action<Channel, ChannelStoragePropError[]> OnChannelStoragePropsFailedToSet;
public event Action<Channel, RejectedProp[]> OnChannelStoragePropsFailedToSet;
public event Action<Channel, ChannelStorageProp[], ChannelStorageProp[]> OnChannelStoragePropsUpdated;

private readonly ChannelStorageManager _storageManager = new ();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,10 @@

namespace TaloGameServices
{
[Serializable]
public class ChannelStoragePropError
{
public string key;
public string error;
public string message;
}

[Serializable]
public class ChannelStoragePropsSetResponse
{
public Channel channel;
public ChannelStoragePropError[] failedProps;
public RejectedProp[] failedProps;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private async void OnChannelStoragePropsUpdated(Channel channel, ChannelStorageP
}
}

private void OnChannelStoragePropsFailedToSet(Channel channel, ChannelStoragePropError[] errors)
private void OnChannelStoragePropsFailedToSet(Channel channel, RejectedProp[] errors)
{
foreach (var prop in errors)
{
Expand Down
Loading