MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / New

Method New

src/openrct2/scripting/bindings/entity/ScParticle.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 ScCrashedVehicleParticle gScCrashedVehicleParticle;
29
30 JSValue ScCrashedVehicleParticle::New(JSContext* ctx, EntityId entityId)
31 {
32 return gScEntity.NewDerivedInstance(ctx, entityId, gScCrashedVehicleParticle.GetProto());
33 }
34
35 void ScCrashedVehicleParticle::Register(JSContext* ctx)
36 {

Callers

nothing calls this directly

Calls 2

NewDerivedInstanceMethod · 0.80
GetProtoMethod · 0.80

Tested by

no test coverage detected