IGC Message Type Request

Simon Jensen shared this feedback 4 months ago
Submitted

I have a request for added an array/list type for Vector3D to the check below.


It's not a problem sending multiple requests over IGC but it would be more convenient begin able just to send a struct with e.g. a job task with a route in array/list manner.


// Sandbox.Game.SessionComponents.MyIGCSystemSessionComponent.MessageTypeChecker<TMessageType>

// Token: 0x060078CC RID: 30924 RVA: 0x0031F7A4 File Offset: 0x0031D9A4

private static bool IsPrimitiveOfSafeStruct(Type type)

{

return type.IsPrimitive || type == typeof(string) || type == typeof(Ray) || type == typeof(RayD) || type == typeof(Line) || type == typeof(LineD) || type == typeof(Color) || type == typeof(Plane) || type == typeof(Point) || type == typeof(PlaneD) || type == typeof(MyQuad) || type == typeof(Matrix) || type == typeof(MatrixD) || type == typeof(MatrixI) || type == typeof(MyQuadD) || type == typeof(Capsule) || type == typeof(Vector2) || type == typeof(Vector3) || type == typeof(Vector4) || type == typeof(CapsuleD) || type == typeof(Vector2D) || type == typeof(Vector2B) || type == typeof(Vector3L) || type == typeof(Vector4D) || type == typeof(Vector3D) || type == typeof(MyShort4) || type == typeof(MyBounds) || type == typeof(Vector3B) || type == typeof(Vector3S) || type == typeof(Vector2I) || type == typeof(Vector4I) || type == typeof(CubeFace) || type == typeof(Vector3I) || type == typeof(Matrix3x3) || type == typeof(MyUShort4) || type == typeof(Rectangle) || type == typeof(Quaternion) || type == typeof(RectangleF) || type == typeof(BoundingBox) || type == typeof(QuaternionD) || type == typeof(MyTransform) || type == typeof(BoundingBox2) || type == typeof(BoundingBoxI) || type == typeof(BoundingBoxD) || type == typeof(MyTransformD) || type == typeof(Vector3UByte) || type == typeof(CurveTangent) || type == typeof(Vector4UByte) || type == typeof(BoundingBox2I) || type == typeof(BoundingBox2D) || type == typeof(Vector3Ushort) || type == typeof(CurveLoopType) || type == typeof(BoundingSphere) || type == typeof(BoundingSphereD) || type == typeof(ContainmentType) || type == typeof(CurveContinuity) || type == typeof(MyBlockOrientation) || type == typeof(Base6Directions.Axis) || type == typeof(MyOrientedBoundingBox) || type == typeof(PlaneIntersectionType) || type == typeof(MyOrientedBoundingBoxD) || type == typeof(Vector3I_RangeIterator) || type == typeof(Base6Directions.Direction) || type == typeof(Base27Directions.Direction) || type == typeof(CompressedPositionOrientation) || type == typeof(Base6Directions.DirectionFlags) || type == typeof(HalfVector3) || type == typeof(HalfVector2) || type == typeof(HalfVector4);

}