/*
文件名:DungeonClass.nut
路径:Dps_A/BaseClass/DungeonClass/DungeonClass.nut
创建日期:2024-04-27	20:31
文件用途:副本对象类
*/

class Dungeon extends Base_C_Object {
    Attribute = null;
    constructor(CObject) {
        base.constructor(CObject);
        Attribute = Sq_Point2Blob(CObject, 120);
    }


    //获取副本ID
    function GetId() {
        return Sq_Dungeon_GetIdex(C_Object);
    }

    //获取副本名称
    function GetName() {
        return Sq_CallFunc(S_Ptr("0x081455A6"), "string", ["pointer"], this.C_Object);
    }

    //获取副本等级
    function GetMinLevel() {
        return Sq_CallFunc(S_Ptr("0x0814559A"), "int", ["pointer"], this.C_Object);
    }
}