Skip to content

Commit 4d6edd5

Browse files
committed
Update readme and Changelog
1 parent 4859148 commit 4d6edd5

File tree

8 files changed

+39
-21
lines changed

8 files changed

+39
-21
lines changed

Assembly-CSharp.Player.csproj

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<LangVersion>8.0</LangVersion>
4+
<LangVersion>latest</LangVersion>
55
</PropertyGroup>
66
<PropertyGroup>
77
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -52,9 +52,6 @@
5252
<UnityBuildTarget>Android:13</UnityBuildTarget>
5353
<UnityVersion>2020.3.26f1</UnityVersion>
5454
</PropertyGroup>
55-
<ItemGroup>
56-
<Analyzer Include="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Extensions\Microsoft\Visual Studio Tools for Unity\Analyzers\Microsoft.Unity.Analyzers.dll" />
57-
</ItemGroup>
5855
<ItemGroup>
5956
<Compile Include="Assets\MoralisWeb3ApiSdk\Example\Scripts\NftObjectController.cs" />
6057
<Compile Include="Assets\MoralisWeb3ApiSdk\Nethereum\Nethereum.BlockchainProcessing\BlockStorage\Repositories\ITransactionVMStackRepository.cs" />
@@ -1291,9 +1288,9 @@
12911288
<None Include="Assets\MoralisWeb3ApiSdk\Packages\BouncyCastle.Crypto\BouncyCastle.Crypto.dll" />
12921289
<None Include="Assets\MoralisWeb3ApiSdk\Example\3rdParty\TextMesh Pro\Shaders\TMP_Bitmap-Mobile.shader" />
12931290
<None Include="Assets\MoralisWeb3ApiSdk\Example\3rdParty\TextMesh Pro\Fonts\LiberationSans - OFL.txt" />
1291+
<None Include="Assets\csc.rsp" />
12941292
<None Include="Assets\MoralisWeb3ApiSdk\Example\3rdParty\TextMesh Pro\Shaders\TMP_SDF-Mobile.shader" />
12951293
<None Include="Assets\MoralisWeb3ApiSdk\DLLs\Common.Logging.dll" />
1296-
<None Include="Assets\mcs.rsp" />
12971294
<None Include="Assets\MoralisWeb3ApiSdk\Packages\System.Drawing.Common\netstandard2.0\System.Drawing.Common.dll" />
12981295
<None Include="Assets\MoralisWeb3ApiSdk\Example\3rdParty\TextMesh Pro\Shaders\TMP_Sprite.shader" />
12991296
</ItemGroup>

Assembly-CSharp.csproj

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<LangVersion>8.0</LangVersion>
4+
<LangVersion>latest</LangVersion>
55
</PropertyGroup>
66
<PropertyGroup>
77
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -52,9 +52,6 @@
5252
<UnityBuildTarget>Android:13</UnityBuildTarget>
5353
<UnityVersion>2020.3.26f1</UnityVersion>
5454
</PropertyGroup>
55-
<ItemGroup>
56-
<Analyzer Include="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Extensions\Microsoft\Visual Studio Tools for Unity\Analyzers\Microsoft.Unity.Analyzers.dll" />
57-
</ItemGroup>
5855
<ItemGroup>
5956
<Compile Include="Assets\MoralisWeb3ApiSdk\Example\Scripts\NftObjectController.cs" />
6057
<Compile Include="Assets\MoralisWeb3ApiSdk\Nethereum\Nethereum.BlockchainProcessing\BlockStorage\Repositories\ITransactionVMStackRepository.cs" />
@@ -1291,9 +1288,9 @@
12911288
<None Include="Assets\MoralisWeb3ApiSdk\Packages\BouncyCastle.Crypto\BouncyCastle.Crypto.dll" />
12921289
<None Include="Assets\MoralisWeb3ApiSdk\Example\3rdParty\TextMesh Pro\Shaders\TMP_Bitmap-Mobile.shader" />
12931290
<None Include="Assets\MoralisWeb3ApiSdk\Example\3rdParty\TextMesh Pro\Fonts\LiberationSans - OFL.txt" />
1291+
<None Include="Assets\csc.rsp" />
12941292
<None Include="Assets\MoralisWeb3ApiSdk\Example\3rdParty\TextMesh Pro\Shaders\TMP_SDF-Mobile.shader" />
12951293
<None Include="Assets\MoralisWeb3ApiSdk\DLLs\Common.Logging.dll" />
1296-
<None Include="Assets\mcs.rsp" />
12971294
<None Include="Assets\MoralisWeb3ApiSdk\Packages\System.Drawing.Common\netstandard2.0\System.Drawing.Common.dll" />
12981295
<None Include="Assets\MoralisWeb3ApiSdk\Example\3rdParty\TextMesh Pro\Shaders\TMP_Sprite.shader" />
12991296
</ItemGroup>
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Change Log
22
## 1.0.4 (2022-02-08)
3+
- Issue #19 - Moralis User and Moralis Object both have a session token property
4+
- Issue #23 - Moralis Web3Api (non WebGl) API Clients are not Asynchronous.
5+
- Issue #25 - iOS XCODE Update Causes Build Error
6+
- Issue #27 - Create Object Does Not Set ClassName
37
- Issue #31 - Integrate SolanaAPI into Moralis / Unity SDK
8+
- Issue #34 - Null ObjectService in MoralisObjects loaded via Query
49

510
## 1.0.3 (2022-01-21)
611
- Wallet Connect Update Integration - fixes iOS and Android sign issues with Wallet Connect.

README.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,12 +414,37 @@ To retrieve an Nethereum contract instance call:
414414
Contract c = MoralisInterface.EvmContractInstance([CONTRACT KEY], [CHAIN ID]);
415415
```
416416

417-
To retrieve an Nethereum contract function instance call:
417+
Retrieve an Nethereum contract function instance:
418418
```
419419
Function f = MoralisInterface.EvmContractFunctionInstance([CONTRACT KEY], [CHAIN ID], [FUNCTION NAME]);
420420
```
421421

422-
To execute a transaction you can call _MoralisInstance.SendEvmTransactionAsync_ or _MoralisInterface.SendTransactionAndWaitForReceiptAsync_. These functions represent only a couple of the variants available from the _Nethereum.Contracts.Function_ object.
422+
Call function with no parameters
423+
```
424+
// No parameters
425+
object[] pars = new object[0];
426+
string jsonResult = await f.CallAsync(pars);
427+
428+
```
429+
430+
Call function with parameters
431+
```
432+
object[] pars = {"My string", 2};
433+
string jsonResult = await f.CallAsync(pars);
434+
```
435+
436+
Call function with parameters, specify from, gas, and value.
437+
```
438+
string playerAddress = "0x37bd48252f4dcE15C7147eA82b31978a00750f81";
439+
object[] pars = {"My string", 2};
440+
Nethereum.Hex.HexTypes.HexBigInteger g = new Nethereum.Hex.HexTypes.HexBigInteger(80);
441+
Nethereum.Hex.HexTypes.HexBigInteger wei = new Nethereum.Hex.HexTypes.HexBigInteger(1000);
442+
string jsonResult = await func.CallAsync(playerAddress, new Nethereum.Hex.HexTypes.HexBigInteger(80), new Nethereum.Hex.HexTypes.HexBigInteger(1000), pars);
443+
```
444+
445+
For other call function varients see the Nethereum [documentation](https://nethereum.com/).
446+
447+
To execute a transaction you can also call _MoralisInstance.SendEvmTransactionAsync_ or _MoralisInterface.SendTransactionAndWaitForReceiptAsync_. These functions represent only a couple of the variants available from the _Nethereum.Contracts.Function_ object.
423448

424449

425450
# WebGL

endel.nativewebsocket.Player.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<LangVersion>8.0</LangVersion>
4+
<LangVersion>latest</LangVersion>
55
</PropertyGroup>
66
<PropertyGroup>
77
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -52,9 +52,6 @@
5252
<UnityBuildTarget>Android:13</UnityBuildTarget>
5353
<UnityVersion>2020.3.26f1</UnityVersion>
5454
</PropertyGroup>
55-
<ItemGroup>
56-
<Analyzer Include="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Extensions\Microsoft\Visual Studio Tools for Unity\Analyzers\Microsoft.Unity.Analyzers.dll" />
57-
</ItemGroup>
5855
<ItemGroup>
5956
<Compile Include="Assets\MoralisWeb3ApiSdk\WalletConnectSharp.Unity\Network\Client\NativeWebSocket.cs" />
6057
</ItemGroup>

endel.nativewebsocket.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<LangVersion>8.0</LangVersion>
4+
<LangVersion>latest</LangVersion>
55
</PropertyGroup>
66
<PropertyGroup>
77
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -52,9 +52,6 @@
5252
<UnityBuildTarget>Android:13</UnityBuildTarget>
5353
<UnityVersion>2020.3.26f1</UnityVersion>
5454
</PropertyGroup>
55-
<ItemGroup>
56-
<Analyzer Include="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Extensions\Microsoft\Visual Studio Tools for Unity\Analyzers\Microsoft.Unity.Analyzers.dll" />
57-
</ItemGroup>
5855
<ItemGroup>
5956
<Compile Include="Assets\MoralisWeb3ApiSdk\WalletConnectSharp.Unity\Network\Client\NativeWebSocket.cs" />
6057
</ItemGroup>

0 commit comments

Comments
 (0)