NavMeshSetHeader.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. Recast4J Copyright (c) 2015-2018 Piotr Piastucki piotr@jtilia.org
  3. This software is provided 'as-is', without any express or implied
  4. warranty. In no event will the authors be held liable for any damages
  5. arising from the use of this software.
  6. Permission is granted to anyone to use this software for any purpose,
  7. including commercial applications, and to alter it and redistribute it
  8. freely, subject to the following restrictions:
  9. 1. The origin of this software must not be misrepresented; you must not
  10. claim that you wrote the original software. If you use this software
  11. in a product, an acknowledgment in the product documentation would be
  12. appreciated but is not required.
  13. 2. Altered source versions must be plainly marked as such, and must not be
  14. misrepresented as being the original software.
  15. 3. This notice may not be removed or altered from any source distribution.
  16. */
  17. namespace DotRecast.Detour.Io
  18. {
  19. public class NavMeshSetHeader
  20. {
  21. public const int NAVMESHSET_MAGIC = 'M' << 24 | 'S' << 16 | 'E' << 8 | 'T'; // 'MSET';
  22. public const int NAVMESHSET_VERSION = 1;
  23. public const int NAVMESHSET_VERSION_RECAST4J_1 = 0x8801;
  24. public const int NAVMESHSET_VERSION_RECAST4J = 0x8802;
  25. public int magic;
  26. public int version;
  27. public int numTiles;
  28. public DtNavMeshParams option = new DtNavMeshParams();
  29. public int maxVertsPerPoly;
  30. }
  31. }