MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / assertNotNull

Function assertNotNull

Source/Platformer/Unit.cpp:106–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 , _size(unitDef->get(Def::Size, Size::zero)) { }
105
106static inline Value* assertNotNull(Value* value) {
107 AssertUnless(value, "Value expected, got null");
108 return value;
109}
110
111Unit::Unit(String defName, String worldName, NotNull<Entity, 3> entity, const Vec2& pos, float rot)
112 : Unit(

Callers 1

UnitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected