Giter VIP home page Giter VIP logo

Comments (5)

niklaswolf avatar niklaswolf commented on June 8, 2024 1

@endel okay this Emit()-function still is a bit mysterious for me, as I can't find it in any documentation. But I'll try to get this working for UWP next week.
By the way thanks for your great support! :)

from colyseus-unity-sdk.

endel avatar endel commented on June 8, 2024

Hi @niklaswolf,

That's right, that's the only methods used from the WebSocket client right now. I thought websocket-sharp had support for all platforms.

I'm not a Windows user, so I'm usually building this project using Mono. Please let me know if you need any help. Cheers!

from colyseus-unity-sdk.

niklaswolf avatar niklaswolf commented on June 8, 2024

Hi,
yeah it seems like websocket-sharp is supporting nearly every platform besides UWP. :(
After digging a bit deeper, I found that websocket-sharp is used in two other files, Client.cs and Room.cs. For these files I have another question: where is EventHandler.Emit() coming from (for example https://github.com/gamestdio/colyseus-unity3d/blob/master/Assets/Colyseus/Room.cs#L79)? Is it defined by websocket-sharp, too?

Another thing that could be problematic is MessagePack: I did not have a further look into it, but I get some errors here, too, so my question is which version are you using?

from colyseus-unity-sdk.

endel avatar endel commented on June 8, 2024

@niklaswolf that's just a regular C# EventHandler. It's a public API to listen to events when you have your Room instantiated.

For MsgPack I'm using a Unity3D-compatible build, from version 0.9.0-beta1. For UWP you can try using a different dll, or maybe building the sources yourself.

from colyseus-unity-sdk.

endel avatar endel commented on June 8, 2024

Thanks for this! Closing as it was implemented by yourself here :) #10

from colyseus-unity-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.