You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/preset-lumberjack/src/generators/preset/files/unity/__className__/Assets/Game/Scripts/Solana/AnchorService.cs.template
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@ using System.Threading.Tasks;
6
6
using Cysharp.Threading.Tasks;
7
7
using Frictionless;
8
8
using Game.Scripts.Ui;
9
-
using Lumberjack;
10
-
using Lumberjack.Accounts;
11
-
using Lumberjack.Program;
9
+
using <%=className%>;
10
+
using <%=className%>.Accounts;
11
+
using <%=className%>.Program;
12
12
using Solana.Unity.Programs;
13
13
using Solana.Unity.Programs.Models;
14
14
using Solana.Unity.Rpc.Core.Http;
@@ -50,7 +50,7 @@ public class AnchorService : MonoBehaviour
50
50
private PublicKey PlayerDataPDA;
51
51
private PublicKey GameDataPDA;
52
52
private bool _isInitialized;
53
-
private LumberjackClient anchorClient;
53
+
private <%=className%>Client anchorClient;
54
54
private int blockingTransactionsInProgress;
55
55
private int nonBlockingTransactionsInProgress;
56
56
private long? sessionValidUntil;
@@ -92,7 +92,7 @@ public class AnchorService : MonoBehaviour
92
92
93
93
FindPDAs(account);
94
94
95
-
anchorClient = new LumberjackClient(Web3.Rpc, Web3.WsRpc, AnchorProgramIdPubKey);
95
+
anchorClient = new <%=className%>Client(Web3.Rpc, Web3.WsRpc, AnchorProgramIdPubKey);
96
96
97
97
await SubscribeToPlayerDataUpdates();
98
98
await SubscribeToGameDataUpdates();
@@ -221,7 +221,7 @@ public class AnchorService : MonoBehaviour
Copy file name to clipboardExpand all lines: packages/preset-lumberjack/src/generators/preset/files/unity/__className__/Assets/Game/Scripts/Ui/GameScreen.cs.template
Copy file name to clipboardExpand all lines: packages/preset-lumberjack/src/generators/preset/files/unity/__className__/Assets/Game/Scripts/Ui/LoginScreen.cs.template
Copy file name to clipboardExpand all lines: packages/preset-lumberjack/src/generators/preset/files/unity/__className__/UserSettings/Layouts/default-2021.dwlt.template
0 commit comments