Skip to content

Commit ebb8234

Browse files
author
OlegT
committed
Revert "ALTV-545 Add Dec to Metric"
This reverts commit 672e2d8, reversing changes made to 63be921.
1 parent adcaab9 commit ebb8234

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

ICore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ namespace alt
114114
virtual alt::Size GetMValueArgsSize(MValueArgs mValue) = 0;
115115

116116
virtual IVirtualEntity* CreateVirtualEntity(IVirtualEntityGroup* group, Position pos, uint32_t streamingDistance, std::unordered_map<std::string, MValue> data) = 0;
117-
virtual IVirtualEntityGroup* CreateVirtualEntityGroup(uint32_t maxEntitiesInStream, const std::string& name = "") = 0;
117+
virtual IVirtualEntityGroup* CreateVirtualEntityGroup(uint32_t maxEntitiesInStream) = 0;
118118

119119
virtual IColShape* CreateColShapeCylinder(Position pos, float radius, float height) = 0;
120120
virtual IColShape* CreateColShapeSphere(Position pos, float radius) = 0;

script-objects/IVirtualEntityGroup.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ namespace alt
1212
virtual ~IVirtualEntityGroup() = default;
1313

1414
virtual uint32_t GetMaxEntitiesInStream() const = 0;
15-
virtual std::string GetName() const = 0;
1615
};
1716
} // namespace alt

types/Metric.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ namespace alt
3333
++value;
3434
}
3535

36-
void Dec()
37-
{
38-
--value;
39-
}
40-
4136
void Begin()
4237
{
4338
lastBegin = Time();

0 commit comments

Comments
 (0)