Exemple #1
0
            public override object?GetNthMask(int index)
            {
                WorldspaceNavigationMeshData_FieldIndex enu = (WorldspaceNavigationMeshData_FieldIndex)index;

                switch (enu)
                {
                case WorldspaceNavigationMeshData_FieldIndex.Parent:
                    return(Parent);

                case WorldspaceNavigationMeshData_FieldIndex.Coordinates:
                    return(Coordinates);

                default:
                    return(base.GetNthMask(index));
                }
            }
Exemple #2
0
            public override void SetNthMask(int index, object obj)
            {
                WorldspaceNavigationMeshData_FieldIndex enu = (WorldspaceNavigationMeshData_FieldIndex)index;

                switch (enu)
                {
                case WorldspaceNavigationMeshData_FieldIndex.Parent:
                    this.Parent = (Exception?)obj;
                    break;

                case WorldspaceNavigationMeshData_FieldIndex.Coordinates:
                    this.Coordinates = (Exception?)obj;
                    break;

                default:
                    base.SetNthMask(index, obj);
                    break;
                }
            }
Exemple #3
0
            public override void SetNthException(int index, Exception ex)
            {
                WorldspaceNavigationMeshData_FieldIndex enu = (WorldspaceNavigationMeshData_FieldIndex)index;

                switch (enu)
                {
                case WorldspaceNavigationMeshData_FieldIndex.Parent:
                    this.Parent = ex;
                    break;

                case WorldspaceNavigationMeshData_FieldIndex.Coordinates:
                    this.Coordinates = ex;
                    break;

                default:
                    base.SetNthException(index, ex);
                    break;
                }
            }