Skip to content

Commit e57991c

Browse files
committed
update readme
1 parent 969c13d commit e57991c

4 files changed

Lines changed: 6 additions & 13 deletions

File tree

README.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,15 @@ Used in [Colyseus Unity SDK](https://github.com/colyseus/colyseus-unity-sdk).
3333

3434
## MonoGame / .NET
3535

36-
Add a project reference to `src/NativeWebSocket/NativeWebSocket.csproj` and
37-
`integrations/MonoGame/NativeWebSocket.MonoGame.csproj`:
38-
3936
```bash
40-
dotnet add reference path/to/NativeWebSocket.csproj
41-
dotnet add reference path/to/NativeWebSocket.MonoGame.csproj
37+
dotnet add package Colyseus.NativeWebSocket
38+
dotnet add package Colyseus.NativeWebSocket.MonoGame
4239
```
4340

4441
## Godot (C#)
4542

46-
Add a project reference to `src/NativeWebSocket/NativeWebSocket.csproj` in your `.csproj`:
47-
48-
```xml
49-
<ItemGroup>
50-
<ProjectReference Include="path/to/NativeWebSocket.csproj" />
51-
</ItemGroup>
43+
```bash
44+
dotnet add package Colyseus.NativeWebSocket
5245
```
5346

5447
# Usage
@@ -223,9 +216,9 @@ Full runnable examples are in the [`examples/`](examples/) directory:
223216
All examples connect to the included test server:
224217

225218
```bash
226-
cd NodeServer
219+
cd node-websocket-server
227220
npm install
228-
node index.js
221+
npm start
229222
```
230223

231224
The server listens on `ws://localhost:3000`, sends periodic text and binary

0 commit comments

Comments
 (0)