MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / make

Method make

source/game/scripting/StarLuaGameConverters.cpp:104–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104LuaMethods<PlatformerAStar::PathFinder> LuaUserDataMethods<PlatformerAStar::PathFinder>::make() {
105 LuaMethods<PlatformerAStar::PathFinder> methods;
106 methods.registerMethodWithSignature<Maybe<bool>, PlatformerAStar::PathFinder&, Maybe<unsigned>>(
107 "explore", mem_fn(&PlatformerAStar::PathFinder::explore));
108 methods.registerMethodWithSignature<Maybe<PlatformerAStar::Path>, PlatformerAStar::PathFinder&>(
109 "result", mem_fn(&PlatformerAStar::PathFinder::result));
110 return methods;
111}
112
113Maybe<PlatformerAStar::Parameters> LuaConverter<PlatformerAStar::Parameters>::to(LuaEngine&, LuaValue const& v) {
114 PlatformerAStar::Parameters p;

Callers

nothing calls this directly

Calls 10

StarExceptionClass · 0.85
getFunction · 0.85
blackboardPtrMethod · 0.80
setFunction · 0.50
expiredMethod · 0.45
runMethod · 0.45
lockMethod · 0.45
clearMethod · 0.45
getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected