Skip to content

Commit a0d231e

Browse files
committed
Compatibility with redscript 1
1 parent b140f83 commit a0d231e

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

scripts/Entity/TagList.reds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
public native struct TagList {
2-
native let tags: array<CName>;
2+
public native let tags: array<CName>;
33
44
public static native func IsEmpty(self: script_ref<TagList>) -> Bool
55
public static native func Clear(self: script_ref<TagList>)
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
public native class entVisualControllerComponent extends IComponent {
2-
native let meshProxy: ResourceRef; // rRef<CMesh>
3-
native let appearanceDependency: array<entVisualControllerDependency>;
4-
native let cookedAppearanceData: ResourceAsyncRef; // raRef<appearanceCookedAppearanceData>
5-
native let forcedLodDistance: entForcedLodDistance;
2+
public native let meshProxy: ResourceRef; // rRef<CMesh>
3+
public native let appearanceDependency: array<entVisualControllerDependency>;
4+
public native let cookedAppearanceData: ResourceAsyncRef; // raRef<appearanceCookedAppearanceData>
5+
public native let forcedLodDistance: entForcedLodDistance;
66
77
public native func LoadAppearanceDependencies(opt wait: Bool) -> Bool
88
}

scripts/UI/Core/inkGrid.reds

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
public native class inkGrid extends inkCompoundWidget {
2-
native let orientation: inkEOrientation;
3-
native let childPadding: inkMargin;
4-
native let childSizeStep: Vector2;
2+
public native let orientation: inkEOrientation;
3+
public native let childPadding: inkMargin;
4+
public native let childSizeStep: Vector2;
55
66
public func GetOrientation() -> inkEOrientation {
77
return this.orientation;
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
public native class workWorkspotInstance extends ISerializable {
2-
native let tree: ref<workWorkspotTree>;
3-
native let resource: ref<workWorkspotResource>;
4-
native let animName: CName;
5-
native let idleAnim: CName;
6-
native let entryId: WorkEntryId;
2+
public native let tree: ref<workWorkspotTree>;
3+
public native let resource: ref<workWorkspotResource>;
4+
public native let animName: CName;
5+
public native let idleAnim: CName;
6+
public native let entryId: WorkEntryId;
77
}

scripts/World/worldStreamingSector.reds

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
public native class worldStreamingSector extends CResource {
2-
native let localInplaceResource: array<ResourceRef>;
3-
native let externInplaceResource: ResourceAsyncRef; // raRef<worldStreamingSectorInplaceContent>
4-
native let level: Uint8;
5-
native let category: worldStreamingSectorCategory;
2+
public native let localInplaceResource: array<ResourceRef>;
3+
public native let externInplaceResource: ResourceAsyncRef; // raRef<worldStreamingSectorInplaceContent>
4+
public native let level: Uint8;
5+
public native let category: worldStreamingSectorCategory;
66
77
public native func GetNodes() -> array<ref<worldNode>>
88
public native func GetNodeCount() -> Int32

0 commit comments

Comments
 (0)