branchrust_reboot/main/facepunch_assertcancel

10 Commits over 0 Days - ∞cph!

2 Months Ago
Merge fixes
2 Months Ago
main -> facepunch_assert
2 Months Ago
Bug fixes, general cleanup
2 Months Ago
Assert throws exceptions Check wont print anything - just returns state
2 Months Ago
Helper methods for: Quickly checking if flags have changed between two flag sets Quickly checking if flags have changed between two flag sets Quickly checking if two entities are the same prefab (removes a bunch of GetEntity and prefabID checks) Quickly checking entity realm Quickly checking if item is in container Quickly checking if item is new
2 Months Ago
Bunch of jakes suggestions: Renaming Creation of a general Safety class which can check items and throw exceptions if specific issues come up Integrate item safety class Keep assert stuff here as well
2 Months Ago
main -> facepunch_assert
2 Months Ago
missed files
2 Months Ago
assembly definition if i end up convinced to pull this to main
2 Months Ago
Our own small assertion library. Supports everything you'd expect with minimal overhead. Minimal abstraction. Throws failed conditions in debug.logerror so we can actually use it on staging effectively. Allows us to do assertions on CLIENT/SERVER specifically - takes advantage of our symbols Eg: FAssert.ThatOnServer(test == 5, "Success!")