com.xmobitea.changx.gn-unity 2.4.0 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,7 @@
23
23
  /// <returns>The name associated with the code or "Unknown" if not found.</returns>
24
24
  public string getCodeName(int code)
25
25
  {
26
- return this.codeDict.ContainsKey(code) ? this.codeDict[code] : CodeHelperBase.unknownCode;
26
+ return this.codeDict.ContainsKey(code) ? this.codeDict[code] : (CodeHelperBase.unknownCode + " (" + code + ")");
27
27
  }
28
28
 
29
29
  /// <summary>
@@ -177,7 +177,7 @@ namespace XmobiTea.GN.Networking.Socket
177
177
  /// <param name="authToken">Authentication token, if applicable.</param>
178
178
  /// <param name="secretKey">Secret key, if applicable.</param>
179
179
  /// <param name="customTags">Custom tags for the request.</param>
180
- internal void Send(RequestType requestType, RequestRole requestRole, OperationRequest operationRequest, string authToken, string secretKey, GNHashtable customTags, string gameId)
180
+ internal void send(RequestType requestType, RequestRole requestRole, OperationRequest operationRequest, string authToken, string secretKey, GNHashtable customTags, string gameId)
181
181
  {
182
182
  this.emit(requestType, requestRole, operationRequest, authToken, secretKey, customTags, gameId);
183
183
  }
@@ -196,7 +196,7 @@
196
196
  var gameId = operationPending.getGameId();
197
197
  var customTags = operationPending.getCustomTags();
198
198
 
199
- this.networkingSocketPeerBase.Send(operationPending.getRequestType(), operationPending.getRequestRole(), operationPending.getOperationRequest(), authToken, secretKey, customTags, gameId);
199
+ this.networkingSocketPeerBase.send(operationPending.getRequestType(), operationPending.getRequestRole(), operationPending.getOperationRequest(), authToken, secretKey, customTags, gameId);
200
200
  }
201
201
 
202
202
  /// <summary>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.xmobitea.changx.gn-unity",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "displayName": "XmobiTea GN Unity",
5
5
  "description": "XmobiTea Unity packages",
6
6
  "unity": "2020.3",