Skip to content

Commit 9eda150

Browse files
authored
Merge pull request #26 from alrun3/return-types
fix: update incorrect return types
2 parents ba47c50 + 2abff0a commit 9eda150

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

WCSharp.Api/Legacy/startlocprio.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ internal startlocprio()
88
}
99

1010
/// @CSharpLua.Get = "MAP_LOC_PRIO_LOW"
11-
public static extern textaligntype Low { get; }
11+
public static extern startlocprio Low { get; }
1212
/// @CSharpLua.Get = "MAP_LOC_PRIO_HIGH"
13-
public static extern textaligntype High { get; }
13+
public static extern startlocprio High { get; }
1414
/// @CSharpLua.Get = "MAP_LOC_PRIO_NOT"
15-
public static extern textaligntype Not { get; }
15+
public static extern startlocprio Not { get; }
1616

1717
/// @CSharpLua.Template = "ConvertStartLocPrio({0})"
1818
public static extern startlocprio Convert(int startLocPrioId);

WCSharp.Api/texmapflags.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ internal texmapflags()
88
}
99

1010
/// @CSharpLua.Get = "TEXMAP_FLAG_NONE"
11-
public static extern subanimtype None { get; }
11+
public static extern texmapflags None { get; }
1212
/// @CSharpLua.Get = "TEXMAP_FLAG_WRAP_U"
13-
public static extern subanimtype WrapU { get; }
13+
public static extern texmapflags WrapU { get; }
1414
/// @CSharpLua.Get = "TEXMAP_FLAG_WRAP_V"
15-
public static extern subanimtype WrapV { get; }
15+
public static extern texmapflags WrapV { get; }
1616
/// @CSharpLua.Get = "TEXMAP_FLAG_WRAP_UV"
17-
public static extern subanimtype WrapUV { get; }
17+
public static extern texmapflags WrapUV { get; }
1818

1919
/// @CSharpLua.Template = "ConvertTexMapFlags({0})"
2020
public static extern texmapflags Convert(int textMapFlagsId);

0 commit comments

Comments
 (0)