예제 #1
0
        // Token: 0x060036FD RID: 14077 RVA: 0x000F4BF8 File Offset: 0x000F2DF8
        public int GetMovePointCost(GridPosition p, MoveType moveType)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_GetMovePointCostGridPositionMoveType_hotfix != null)
            {
                return(Convert.ToInt32(this.m_GetMovePointCostGridPositionMoveType_hotfix.call(new object[]
                {
                    this,
                    p,
                    moveType
                })));
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            BattleMapCell cell = this.GetCell(p);

            if (cell == null)
            {
                return(0);
            }
            return(BattleMap.GetMovePointCost(cell.m_terrain, moveType));
        }
예제 #2
0
 // Token: 0x06003706 RID: 14086 RVA: 0x000F51EC File Offset: 0x000F33EC
 public LuaExportHelper(BattleMap owner)
 {
     this.m_owner = owner;
 }