We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb89883 commit 9ef3eb2Copy full SHA for 9ef3eb2
1 file changed
WCSharp.Api/unit.cs
@@ -201,7 +201,8 @@ internal unit()
201
/// @CSharpLua.Get = "BlzGetUnitOrderCount({this})"
202
public extern int OrderCount { get; }
203
/// @CSharpLua.Get = "GetUnitLevel({this})"
204
- public extern int Level { get; }
+ /// @CSharpLua.Set = "BlzSetUnitIntegerField({this}, UNIT_IF_LEVEL, {0})"
205
+ public extern int Level { get; set; }
206
/// @CSharpLua.Get = "GetUnitFoodUsed({this})"
207
public extern int FoodUsed { get; }
208
/// @CSharpLua.Get = "GetUnitFoodMade({this})"
0 commit comments