Attribute -> RbxAttribute
This commit is contained in:
@ -18,13 +18,6 @@
|
||||
Envelope = envelope;
|
||||
}
|
||||
|
||||
internal NumberSequenceKeypoint(Attribute attr)
|
||||
{
|
||||
Envelope = attr.ReadFloat();
|
||||
Time = attr.ReadFloat();
|
||||
Value = attr.ReadFloat();
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
int hash = Time.GetHashCode()
|
||||
|
@ -37,16 +37,6 @@ namespace RobloxFiles.DataTypes
|
||||
ElasticityWeight = elasticityWeight;
|
||||
}
|
||||
|
||||
internal PhysicalProperties(Attribute attr)
|
||||
{
|
||||
Density = attr.ReadFloat();
|
||||
Friction = attr.ReadFloat();
|
||||
Elasticity = attr.ReadFloat();
|
||||
|
||||
FrictionWeight = attr.ReadFloat();
|
||||
ElasticityWeight = attr.ReadFloat();
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
int hash = Density.GetHashCode()
|
||||
|
@ -11,12 +11,6 @@
|
||||
Max = max ?? new Vector3int16();
|
||||
}
|
||||
|
||||
internal Region3int16(Attribute attr)
|
||||
{
|
||||
Min = new Vector3int16(attr);
|
||||
Max = new Vector3int16(attr);
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
int hash = Min.GetHashCode()
|
||||
|
@ -19,12 +19,6 @@ namespace RobloxFiles.DataTypes
|
||||
Y = (short)y;
|
||||
}
|
||||
|
||||
internal Vector2int16(Attribute attr)
|
||||
{
|
||||
X = attr.ReadShort();
|
||||
Y = attr.ReadShort();
|
||||
}
|
||||
|
||||
private delegate Vector2int16 Operator(Vector2int16 a, Vector2int16 b);
|
||||
|
||||
private static Vector2int16 upcastShortOp(Vector2int16 vec, short num, Operator upcast)
|
||||
|
@ -25,13 +25,6 @@ namespace RobloxFiles.DataTypes
|
||||
Z = (short)z;
|
||||
}
|
||||
|
||||
internal Vector3int16(Attribute attr)
|
||||
{
|
||||
X = attr.ReadShort();
|
||||
Y = attr.ReadShort();
|
||||
Z = attr.ReadShort();
|
||||
}
|
||||
|
||||
private delegate Vector3int16 Operator(Vector3int16 a, Vector3int16 b);
|
||||
|
||||
private static Vector3int16 upcastShortOp(Vector3int16 vec, short num, Operator upcast)
|
||||
|
Reference in New Issue
Block a user