Pathfinding.Path.GetConnectionSpecialCost C# (CSharp) Method

GetConnectionSpecialCost() public method

public GetConnectionSpecialCost ( GraphNode a, GraphNode b, uint currentCost ) : uint
a GraphNode
b GraphNode
currentCost uint
return uint
		public virtual uint GetConnectionSpecialCost (GraphNode a, GraphNode b, uint currentCost) {
			return currentCost;
		}

Usage Example

 static int GetConnectionSpecialCost(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         Pathfinding.Path      obj  = (Pathfinding.Path)ToLua.CheckObject <Pathfinding.Path>(L, 1);
         Pathfinding.GraphNode arg0 = (Pathfinding.GraphNode)ToLua.CheckObject <Pathfinding.GraphNode>(L, 2);
         Pathfinding.GraphNode arg1 = (Pathfinding.GraphNode)ToLua.CheckObject <Pathfinding.GraphNode>(L, 3);
         uint arg2 = (uint)LuaDLL.luaL_checknumber(L, 4);
         uint o    = obj.GetConnectionSpecialCost(arg0, arg1, arg2);
         LuaDLL.lua_pushnumber(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
All Usage Examples Of Pathfinding.Path::GetConnectionSpecialCost