Update C# signal documentation and remove bind array
- Updates C# signal documentation and code examples to the new API in 4.0 - Replace all `nameof` usages with the exposed `StringName`
This commit is contained in:
parent
1f22c482e1
commit
92e4b4e888
9 changed files with 48 additions and 50 deletions
|
|
@ -69,7 +69,7 @@
|
|||
}
|
||||
|
||||
// Called when the HTTP request is completed.
|
||||
private void HttpRequestCompleted(int result, int response_code, string[] headers, byte[] body)
|
||||
private void HttpRequestCompleted(int result, int responseCode, string[] headers, byte[] body)
|
||||
{
|
||||
var json = new JSON();
|
||||
json.Parse(body.GetStringFromUTF8());
|
||||
|
|
@ -128,7 +128,7 @@
|
|||
}
|
||||
|
||||
// Called when the HTTP request is completed.
|
||||
private void HttpRequestCompleted(int result, int response_code, string[] headers, byte[] body)
|
||||
private void HttpRequestCompleted(int result, int responseCode, string[] headers, byte[] body)
|
||||
{
|
||||
if (result != (int)HTTPRequest.Result.Success)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue