Skip to content

0.14.7

Compare
Choose a tag to compare
@github-actions github-actions released this 01 Jun 20:43
34e08ed

Changes

  • Fix for #157
    • Socket closure events now pass around the int code instead of the parsed enum value. This will cause errors anywhere that you have created custom _room.colyseusConnection.OnClose / _room.colyseusConnection.OnLeave events that are anticipating a WebSocketCloseCode argument rather than an int. The WebSocketCloseCode can still be obtained via WebSocketHelpers.ParseCloseCodeEnum(code)
  • Fix for #156
    • Resolves issue of ColyseusRequest only working with a single instance of settings due to its static nature.
      ColyseusRequest now no longer has static methods. Moved the requests object out of ColyseusManager and into ColyseusClient. Each client now has its own instance of ColyseusRequest that can be initialized with its own endpoint or ColyseusSettings.