コード例 #1
0
 internal static ushort MapIdToZoneId(uint mapId)
 {
     return(GameResources.GetZoneIdFromCodeName(string.Concat <char>(Resources.Map.Split(GameResources.lineEnding, StringSplitOptions.RemoveEmptyEntries).Skip(3).ToArray <string>()[(int)mapId].Split(',', StringSplitOptions.None)[7].Trim('"').TakeWhile((char c) => c != '/'))));
 }