How to use the GetMapName function from bindings

Find comprehensive JavaScript bindings.GetMapName code examples handpicked from public code repositorys.

208
209
210
211
212
213
214
215
216
217
if(!r){
        cb(false);
        return;
}
var curXY = cga.GetMapXY();
var curMap = cga.GetMapName();
const desiredMap = ['法兰城','里谢里雅堡','艾尔莎岛','市场一楼 - 宠物交易区','市场三楼 - 修理专区'];
if(curMap == '法兰城'){
        if(stone == 'C'){
                cga.travel.falan.toCastle(cb);
fork icon35
star icon0
watch icon1

150
151
152
153
154
155
156
157
158
159
}

cga.getMapInfo = () => {
        const info = cga.GetMapXY();
        info.indexes = cga.GetMapIndex();
        info.name = cga.GetMapName();
        return info;
};

cga.getOrientation = (x, y) => {
fork icon33
star icon44
watch icon5

+ 7 other calls in file

Other functions in bindings

Sorted by popularity

function icon

bindings.createKey is the most popular function in bindings (8616 examples)