Exemplo n.º 1
0
            public override object?GetNthMask(int index)
            {
                CellNavigationMeshData_FieldIndex enu = (CellNavigationMeshData_FieldIndex)index;

                switch (enu)
                {
                case CellNavigationMeshData_FieldIndex.UnusedWorldspaceParent:
                    return(UnusedWorldspaceParent);

                case CellNavigationMeshData_FieldIndex.Parent:
                    return(Parent);

                default:
                    return(base.GetNthMask(index));
                }
            }
Exemplo n.º 2
0
            public override void SetNthMask(int index, object obj)
            {
                CellNavigationMeshData_FieldIndex enu = (CellNavigationMeshData_FieldIndex)index;

                switch (enu)
                {
                case CellNavigationMeshData_FieldIndex.UnusedWorldspaceParent:
                    this.UnusedWorldspaceParent = (Exception?)obj;
                    break;

                case CellNavigationMeshData_FieldIndex.Parent:
                    this.Parent = (Exception?)obj;
                    break;

                default:
                    base.SetNthMask(index, obj);
                    break;
                }
            }
Exemplo n.º 3
0
            public override void SetNthException(int index, Exception ex)
            {
                CellNavigationMeshData_FieldIndex enu = (CellNavigationMeshData_FieldIndex)index;

                switch (enu)
                {
                case CellNavigationMeshData_FieldIndex.UnusedWorldspaceParent:
                    this.UnusedWorldspaceParent = ex;
                    break;

                case CellNavigationMeshData_FieldIndex.Parent:
                    this.Parent = ex;
                    break;

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