// SeekerStatue 会通过这个构造函数创建 Seeker private static void SeekerOnCtor_EntityData_Vector2(On.Celeste.Seeker.orig_ctor_EntityData_Vector2 orig, Seeker self, EntityData data, Vector2 offset) { self.SetEntityId2(data.ToEntityId2(self)); self.SetEntityData(data); orig(self, data, offset); }
private static void TrackSeekerLife(On.Celeste.Seeker.orig_ctor_EntityData_Vector2 orig, Seeker self, EntityData data, Vector2 offset) { orig(self, data, offset); new DynData <Seeker>(self).Set("ID", data.ID); }