public static LinkItem InitExit(int mapId, int elementId, int elementType, ushort skillId, int spawnCellId) { var linkItem = new LinkItem(EType.EXIT, mapId, elementId, elementType, skillId, spawnCellId); Exits.Add(linkItem); return(linkItem); }
public static LinkItem InitEntry(int mapId, int elementId, int elementType, ushort skillId, int spawnCellId) { var linkItem = new LinkItem(EType.ENTRY, mapId, elementId, elementType, skillId, spawnCellId); Entries.Add(linkItem); return(linkItem); }