userIan Hendersoncancel
branchrust_reboot/main/facepunch_assertcancel

10 Commits over 0 Days - ∞cph!

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