Skip to content

Commit 77dd6b8

Browse files
authored
Updated with TS main + Single event listener removal (#26)
1 parent 467f644 commit 77dd6b8

20 files changed

+117630
-74668
lines changed

Assets/Thirdweb/Core/Demo/ThirdwebDemoScene.unity

Lines changed: 0 additions & 4487 deletions
This file was deleted.

Assets/Thirdweb/Core/Demo/ThirdwebSDKDemos.cs

Lines changed: 0 additions & 325 deletions
This file was deleted.

Assets/Thirdweb/Core/Scripts/Events.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,6 @@ public async Task<List<ContractEvent<object>>> GetAll(EventQueryOptions eventQue
3535
return await Bridge.InvokeRoute<List<ContractEvent<object>>>(getRoute("getAllEvents"), Utils.ToJsonStringArray(eventQueryOptions));
3636
}
3737

38-
/// <summary>
39-
/// Listens an event and executes callback
40-
/// </summary>
41-
/// <param name="eventName">Event name filter</param>
42-
/// <param name="action">Callback action</param>
43-
/// <typeparam name="T">Action return type</typeparam>
44-
/// <returns>Task ID string</returns>
45-
public string AddListener<T>(string eventName, Action<T> action)
46-
{
47-
return Bridge.InvokeListener<T>(getRoute("addEventListener"), Utils.ToJsonStringArray(eventName), action);
48-
}
49-
5038
/// <summary>
5139
/// Listens to all events and executes callback every time
5240
/// </summary>

0 commit comments

Comments
 (0)