onejs-core 1.0.31 → 1.0.33
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.
|
@@ -155,8 +155,8 @@ declare namespace CS {
|
|
|
155
155
|
class WebApi extends System.Object
|
|
156
156
|
{
|
|
157
157
|
protected [__keep_incompatibility]: never;
|
|
158
|
-
public getText ($uri: string, $callback: System.Action$1<string
|
|
159
|
-
public getImage ($url: string, $callback: System.Action$1<UnityEngine.Texture2D
|
|
158
|
+
public getText ($uri: string, $callback: System.Action$1<string>, $headersJson?: string) : UnityEngine.Coroutine
|
|
159
|
+
public getImage ($url: string, $callback: System.Action$1<UnityEngine.Texture2D>, $headersJson?: string, $forceRefresh?: boolean) : UnityEngine.Coroutine
|
|
160
160
|
public constructor ()
|
|
161
161
|
}
|
|
162
162
|
class Runner extends UnityEngine.MonoBehaviour
|
package/definitions/jsx.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ declare namespace CS.System {
|
|
|
20
20
|
toJsArray<T>(): T[]
|
|
21
21
|
at<T>(index: number): T
|
|
22
22
|
forEach<T>(callbackfn: (value: T, index: number, array: CSArray) => void): void
|
|
23
|
-
map<T, U>(callbackfn: (value: T, index: number, array: CSArray) => U): CSArray
|
|
23
|
+
map<T, U>(type: { new(...args: any[]): U }, callbackfn: (value: T, index: number, array: CSArray) => U): CSArray
|
|
24
24
|
filter<T>(callbackfn: (value: T, index: number, array: CSArray) => boolean): CSArray
|
|
25
25
|
reduce<T>(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: CSArray) => T): T
|
|
26
26
|
reduceRight<T>(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: CSArray) => T): T
|
package/package.json
CHANGED