Skip to content

Commit

Permalink
add clothes methods
Browse files Browse the repository at this point in the history
Former-commit-id: b1fbbc4
  • Loading branch information
FabianTerhorst authored Jan 19, 2021
1 parent c437ef5 commit e3f7988
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bindings/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,4 +307,7 @@ extern V8Class v8Player("Player", v8Entity, nullptr, [](v8::Local<v8::FunctionTe
V8::SetMethod(isolate, tpl, "setWeaponTintIndex", &SetWeaponTintIndex);

V8::SetMethod(isolate, tpl, "kick", &Kick);

V8::SetMethod(isolate, tpl, "setClothes", &SetClothes);
V8::SetMethod(isolate, tpl, "getClothes", &GetClothes);
});

0 comments on commit e3f7988

Please sign in to comment.