userIan Hendersoncancel
branchrust_reboot/main/facepunch_assertcancel

10 Commits over 0 Days - ∞cph!

23 Days Ago
Merge fixes
23 Days Ago
main -> facepunch_assert
23 Days Ago
Bug fixes, general cleanup
23 Days Ago
Assert throws exceptions Check wont print anything - just returns state
24 Days 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
24 Days 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
24 Days Ago
main -> facepunch_assert
24 Days Ago
missed files
24 Days Ago
assembly definition if i end up convinced to pull this to main
24 Days 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!")