Skip to content

Commit

Permalink
[I/O] Object Placement: use enum for data types
Browse files Browse the repository at this point in the history
Using an enum is safer, rather than using the assembly name of an external library to parse the data.
  • Loading branch information
hyperbx committed Nov 1, 2021
1 parent ac76bae commit 87b8d84
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 125 deletions.
12 changes: 12 additions & 0 deletions Marathon/Formats/Placement/ObjectDataType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace Marathon.Formats.Placement
{
public enum ObjectDataType
{
Boolean,
Int32,
Single,
String,
Vector3,
UInt32 = 6
}
}
Loading

0 comments on commit 87b8d84

Please sign in to comment.